diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/cli/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cli/analysis_stats.rs b/crates/rust-analyzer/src/cli/analysis_stats.rs index 9445aec07..30811bbbf 100644 --- a/crates/rust-analyzer/src/cli/analysis_stats.rs +++ b/crates/rust-analyzer/src/cli/analysis_stats.rs | |||
@@ -302,7 +302,7 @@ impl AnalysisStatsCmd { | |||
302 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); | 302 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); |
303 | } | 303 | } |
304 | 304 | ||
305 | if self.memory_usage { | 305 | if self.memory_usage && verbosity.is_verbose() { |
306 | print_memory_usage(host, vfs); | 306 | print_memory_usage(host, vfs); |
307 | } | 307 | } |
308 | 308 | ||