mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Dropping a reference does nothing.
Allows clippy to continue compilation
This commit is contained in:
parent
a30129be5a
commit
0610444407
@ -183,7 +183,6 @@ pub fn run(
|
||||
println!("Total: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage());
|
||||
|
||||
if memory_usage {
|
||||
drop(db);
|
||||
for (name, bytes) in host.per_query_memory_usage() {
|
||||
println!("{:>8} {}", bytes, name)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user