aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-10 17:59:06 +0000
committerGitHub <[email protected]>2021-01-10 17:59:06 +0000
commit3e32e39da765632dd5c61d31b846bfa93738e786 (patch)
tree4b00e7df9637766f83aab443544b725a00f0d888 /crates
parentb3ae7974affd401493982fb704aec7adfdb0455e (diff)
parenta0957723fed54725babeebcf357f27e20a15dab2 (diff)
Merge #7240
7240: Make default memory stats less verbose r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
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