mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
remove duplicate word
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ pub(super) fn from_toml_path(file_path: &Path) -> Result<Config, Error> {
|
||||
/// one.
|
||||
pub(super) fn from_resolved_toml_path(dir: &Path) -> Result<(Config, Option<PathBuf>), 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<Option<PathBuf>, Error> {
|
||||
let mut current = if dir.is_relative() {
|
||||
|
||||
Reference in New Issue
Block a user