diff --git a/crates/ide/src/status.rs b/crates/ide/src/status.rs index 6cde06eaa2..cf9849272c 100644 --- a/crates/ide/src/status.rs +++ b/crates/ide/src/status.rs @@ -42,15 +42,7 @@ pub(crate) fn status(db: &RootDatabase, file_id: Option) -> String { format_to!(buf, "{} (Macros)\n", macro_syntax_tree_stats(db)); format_to!(buf, "{} in total\n", memory_usage()); if env::var("RA_COUNT").is_ok() { - format_to!( - buf, - "\nCounts:\n{}", - if count.to_string().contains("all counts are zero") { - String::from("All counts are zero\n") - } else { - count.to_string() - } - ); + format_to!(buf, "\nCounts:\n{}", count.to_string()); } if let Some(file_id) = file_id {