mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #2823
2823: Dropping a reference does nothing. r=matklad a=kjeremy Allows clippy to continue compilation Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
5621f90071
@ -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…
x
Reference in New Issue
Block a user