aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-03-23 10:01:45 +0000
committerAleksey Kladov <[email protected]>2021-03-23 10:04:43 +0000
commitfa9c6eb4560c3c72a726dba4210af2edbb3dd4bb (patch)
tree254ec6603c9d9b0b3a09b135c05bf86fffe884d5
parentba48c0d8bd93a0cb5c141f9296843bf5028d960d (diff)
Improve readability
-rw-r--r--crates/base_db/src/input.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs
index 56fb4ad71..07628935f 100644
--- a/crates/base_db/src/input.rs
+++ b/crates/base_db/src/input.rs
@@ -280,6 +280,7 @@ impl CrateGraph {
280 let mut worklist = vec![of]; 280 let mut worklist = vec![of];
281 let mut rev_deps = FxHashSet::default(); 281 let mut rev_deps = FxHashSet::default();
282 rev_deps.insert(of); 282 rev_deps.insert(of);
283
283 let mut inverted_graph = FxHashMap::<_, Vec<_>>::default(); 284 let mut inverted_graph = FxHashMap::<_, Vec<_>>::default();
284 self.arena.iter().for_each(|(&krate, data)| { 285 self.arena.iter().for_each(|(&krate, data)| {
285 data.dependencies 286 data.dependencies