diff --git a/src/config/mod.rs b/src/config/mod.rs index 9484b2e5829..eb92b8f6eeb 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -256,7 +256,7 @@ impl Config { /// one. pub(super) fn from_resolved_toml_path(dir: &Path) -> Result<(Config, Option), Error> { /// Try to find a project file in the given directory and its parents. - /// Returns the path of a the nearest project file if one exists, + /// Returns the path of the nearest project file if one exists, /// or `None` if no project file was found. fn resolve_project_file(dir: &Path) -> Result, Error> { let mut current = if dir.is_relative() {