aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-01-13 15:51:39 +0000
committerkjeremy <[email protected]>2020-01-13 15:51:39 +0000
commit0610444407585ce4df9910b80f610619b5d9c10f (patch)
treebe6684ff83d9a54af349eadeaba3d6dd33f48147 /crates
parenta30129be5ae8fd3dc698cc035339ed651b30de02 (diff)
Dropping a reference does nothing.
Allows clippy to continue compilation
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_cli/src/analysis_stats.rs1
1 files changed, 0 insertions, 1 deletions
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(
183 println!("Total: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage()); 183 println!("Total: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage());
184 184
185 if memory_usage { 185 if memory_usage {
186 drop(db);
187 for (name, bytes) in host.per_query_memory_usage() { 186 for (name, bytes) in host.per_query_memory_usage() {
188 println!("{:>8} {}", bytes, name) 187 println!("{:>8} {}", bytes, name)
189 } 188 }