diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-13 15:54:32 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-13 15:54:32 +0000 |
commit | 5621f90071f576a8989cd09f98eb0fc6c9b7a612 (patch) | |
tree | be6684ff83d9a54af349eadeaba3d6dd33f48147 /crates/ra_cli/src | |
parent | a30129be5ae8fd3dc698cc035339ed651b30de02 (diff) | |
parent | 0610444407585ce4df9910b80f610619b5d9c10f (diff) |
Merge #2823
2823: Dropping a reference does nothing. r=matklad a=kjeremy
Allows clippy to continue compilation
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_cli/src')
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 1 |
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 | } |