From d1821e4b6e0e9f6a84a167caeea883eb565fd3eb Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Mon, 28 Jun 2021 07:31:54 +0100 Subject: [PATCH] fix all reviews --- .gitignore | 3 +-- crates/ide/Cargo.toml | 1 + crates/ide/src/status.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8199e35c081..118df746afe 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,4 @@ crates/*/target generated_assists.adoc generated_features.adoc generated_diagnostic.adoc -.DS_Store -.glitterrc +.DS_Store \ No newline at end of file diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index 3bc07aedf58..0e84473940a 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -21,6 +21,7 @@ pulldown-cmark-to-cmark = "6.0.0" pulldown-cmark = { version = "0.8.0", default-features = false } url = "2.1.1" dot = "0.1.4" + stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } text_edit = { path = "../text_edit", version = "0.0.0" } diff --git a/crates/ide/src/status.rs b/crates/ide/src/status.rs index 22f1a09091b..c256788c3f5 100644 --- a/crates/ide/src/status.rs +++ b/crates/ide/src/status.rs @@ -151,7 +151,7 @@ struct LibrarySymbolsStats { impl fmt::Display for LibrarySymbolsStats { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - write!(fmt, "{} of index symbols", self.size) + write!(fmt, "{} of index symbols ({})", self.size, self.total) } }