aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-26 17:57:47 +0000
committerAleksey Kladov <[email protected]>2019-01-27 19:57:18 +0000
commit09b5dc8e02317c14cff80890f2d4591843322f47 (patch)
treec696f0c4017adf3f035adbe2eb70c7dd01569f57
parent7801f6b50f69b33743145f61989bcb945c24dbaa (diff)
drop obsolete comment
-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