aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-10 17:58:02 +0000
committerAleksey Kladov <[email protected]>2021-01-10 17:58:02 +0000
commita0957723fed54725babeebcf357f27e20a15dab2 (patch)
treecdf47b9f7c31f1a544272dfbc4cae4cf5f711f82 /crates
parent035fed5f9f7c062da7d23190dab1a7021fd48a5d (diff)
Make default memory stats less verbose
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/cli/analysis_stats.rs2
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