Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/status.rs')
| -rw-r--r-- | crates/ide/src/status.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide/src/status.rs b/crates/ide/src/status.rs index ea2b7906e9..3191870eb5 100644 --- a/crates/ide/src/status.rs +++ b/crates/ide/src/status.rs @@ -75,7 +75,7 @@ struct FilesStats { } impl fmt::Display for FilesStats { - fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { write!(fmt, "{} of files", self.size) } } @@ -101,7 +101,7 @@ pub(crate) struct SyntaxTreeStats { } impl fmt::Display for SyntaxTreeStats { - fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { write!(fmt, "{} trees, {} preserved", self.total, self.retained) } } @@ -143,7 +143,7 @@ struct LibrarySymbolsStats { } impl fmt::Display for LibrarySymbolsStats { - fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { write!(fmt, "{} of index symbols ({})", self.size, self.total) } } |