mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Dropping a reference does nothing.
Allows clippy to continue compilation
This commit is contained in:
parent
a30129be5a
commit
0610444407
1 changed files with 0 additions and 1 deletions
|
@ -183,7 +183,6 @@ pub fn run(
|
||||||
println!("Total: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage());
|
println!("Total: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage());
|
||||||
|
|
||||||
if memory_usage {
|
if memory_usage {
|
||||||
drop(db);
|
|
||||||
for (name, bytes) in host.per_query_memory_usage() {
|
for (name, bytes) in host.per_query_memory_usage() {
|
||||||
println!("{:>8} {}", bytes, name)
|
println!("{:>8} {}", bytes, name)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue