aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-19 17:53:42 +0100
committerAleksey Kladov <[email protected]>2019-07-19 17:55:54 +0100
commit8f032d6a585d59a9d2e57beeaca903a4fb5eb57b (patch)
tree10d30f6688ffeb68827768b7c1790a198085faa9 /crates/ra_syntax/src
parent191a6ba330bd47fc3b9cc05d59b2d456b471eb89 (diff)
drop memory size of subtree
it wasn't too accurate and the new measurement method of dropping the database completely is better anyway
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/syntax_node.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index 98955832b..62e0967b7 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -173,10 +173,6 @@ impl SyntaxNode {
173 }) 173 })
174 } 174 }
175 175
176 pub fn memory_size_of_subtree(&self) -> usize {
177 0
178 }
179
180 pub fn debug_dump(&self) -> String { 176 pub fn debug_dump(&self) -> String {
181 let mut level = 0; 177 let mut level = 0;
182 let mut buf = String::new(); 178 let mut buf = String::new();