From 0610444407585ce4df9910b80f610619b5d9c10f Mon Sep 17 00:00:00 2001 From: kjeremy Date: Mon, 13 Jan 2020 10:51:39 -0500 Subject: Dropping a reference does nothing. Allows clippy to continue compilation --- crates/ra_cli/src/analysis_stats.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index ac65415a5..fd0027691 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs @@ -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) } -- cgit v1.2.3