Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base_db/src/lib.rs')
-rw-r--r--crates/base_db/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/base_db/src/lib.rs b/crates/base_db/src/lib.rs
index d4070457cd..d80660f7c9 100644
--- a/crates/base_db/src/lib.rs
+++ b/crates/base_db/src/lib.rs
@@ -102,7 +102,7 @@ fn source_root_crates(db: &dyn SourceDatabaseExt, id: SourceRootId) -> Arc<FxHas
let root_file = graph[krate].root_file_id;
db.file_source_root(root_file) == id
})
- .collect::<FxHashSet<_>>();
+ .collect();
Arc::new(res)
}