From 8f032d6a585d59a9d2e57beeaca903a4fb5eb57b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 19 Jul 2019 19:53:42 +0300 Subject: drop memory size of subtree it wasn't too accurate and the new measurement method of dropping the database completely is better anyway --- crates/ra_syntax/src/syntax_node.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/ra_syntax/src') 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 { }) } - pub fn memory_size_of_subtree(&self) -> usize { - 0 - } - pub fn debug_dump(&self) -> String { let mut level = 0; let mut buf = String::new(); -- cgit v1.2.3