diff options
author | Aleksey Kladov <[email protected]> | 2019-07-19 17:53:42 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-19 17:55:54 +0100 |
commit | 8f032d6a585d59a9d2e57beeaca903a4fb5eb57b (patch) | |
tree | 10d30f6688ffeb68827768b7c1790a198085faa9 /crates/ra_syntax/src | |
parent | 191a6ba330bd47fc3b9cc05d59b2d456b471eb89 (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.rs | 4 |
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(); |