Update crates/ide/src/status.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
@@ -42,7 +42,7 @@ pub(crate) fn status(db: &RootDatabase, file_id: Option<FileId>) -> String {
|
|||||||
format_to!(buf, "{} (Macros)\n", macro_syntax_tree_stats(db));
|
format_to!(buf, "{} (Macros)\n", macro_syntax_tree_stats(db));
|
||||||
format_to!(buf, "{} in total\n", memory_usage());
|
format_to!(buf, "{} in total\n", memory_usage());
|
||||||
if env::var("RA_COUNT").is_ok() {
|
if env::var("RA_COUNT").is_ok() {
|
||||||
format_to!(buf, "\nCounts:\n{}", count.to_string());
|
format_to!(buf, "\nCounts:\n{}", count);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(file_id) = file_id {
|
if let Some(file_id) = file_id {
|
||||||
|
|||||||
Reference in New Issue
Block a user