Skip to content

Commit

Permalink
Rust: deduplicate manifest list
Browse files Browse the repository at this point in the history
  • Loading branch information
aibaars committed Oct 6, 2024
1 parent 86f85bb commit 747aa12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/extractor/src/rust_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(", ")
Expand Down

0 comments on commit 747aa12

Please sign in to comment.