aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r--crates/ra_ide_api/src/imp.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/imp.rs b/crates/ra_ide_api/src/imp.rs
index 0dd3e8cb0..4e347e973 100644
--- a/crates/ra_ide_api/src/imp.rs
+++ b/crates/ra_ide_api/src/imp.rs
@@ -91,9 +91,6 @@ impl db::RootDatabase {
91 } 91 }
92 } 92 }
93 93
94 /// Ideally, we should call this function from time to time to collect heavy
95 /// syntax trees. However, if we actually do that, everything is recomputed
96 /// for some reason. Needs investigation.
97 pub(crate) fn collect_garbage(&mut self) { 94 pub(crate) fn collect_garbage(&mut self) {
98 self.last_gc = time::Instant::now(); 95 self.last_gc = time::Instant::now();
99 96