aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_db/src')
-rw-r--r--crates/ra_db/src/input.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs
index 2d563bd01..ad8e10c52 100644
--- a/crates/ra_db/src/input.rs
+++ b/crates/ra_db/src/input.rs
@@ -131,7 +131,8 @@ impl CrateGraph {
131 if self.dfs_find(from, to, &mut FxHashSet::default()) { 131 if self.dfs_find(from, to, &mut FxHashSet::default()) {
132 return Err(CyclicDependencies); 132 return Err(CyclicDependencies);
133 } 133 }
134 Ok(self.arena.get_mut(&from).unwrap().add_dep(name, to)) 134 self.arena.get_mut(&from).unwrap().add_dep(name, to);
135 Ok(())
135 } 136 }
136 137
137 pub fn is_empty(&self) -> bool { 138 pub fn is_empty(&self) -> bool {