diff --git a/rust/extractor/src/rust_analyzer.rs b/rust/extractor/src/rust_analyzer.rs index 4c8a76639954a..7d2b78b4c55e6 100644 --- a/rust/extractor/src/rust_analyzer.rs +++ b/rust/extractor/src/rust_analyzer.rs @@ -120,7 +120,9 @@ fn find_project_manifests( .iter() .map(|path| AbsPathBuf::assert_utf8(current.join(path))) .collect(); - let ret = ra_ap_project_model::ProjectManifest::discover_all(&abs_files); + let mut ret = ra_ap_project_model::ProjectManifest::discover_all(&abs_files); + ret.sort(); + ret.dedup(); info!( "found manifests: {}", ret.iter().map(|m| format!("{m}")).join(", ")