Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/src/memory_usage.rs')
| -rw-r--r-- | crates/profile/src/memory_usage.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/profile/src/memory_usage.rs b/crates/profile/src/memory_usage.rs index 885fe1f1aa..ee882b4cb4 100644 --- a/crates/profile/src/memory_usage.rs +++ b/crates/profile/src/memory_usage.rs @@ -11,7 +11,7 @@ pub struct MemoryUsage { } impl fmt::Display for MemoryUsage { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { self.allocated.fmt(f) } } @@ -97,7 +97,7 @@ impl Bytes { } impl fmt::Display for Bytes { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let bytes = self.0; let mut value = bytes; let mut suffix = "b"; |