mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-03 17:10:39 +00:00
drop memory size of subtree
it wasn't too accurate and the new measurement method of dropping the database completely is better anyway
This commit is contained in:
parent
191a6ba330
commit
8f032d6a58
2 changed files with 4 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue