diff --git a/src/util/memory.rs b/src/util/memory.rs index 0e689be6b9..6e3cc23b80 100644 --- a/src/util/memory.rs +++ b/src/util/memory.rs @@ -143,7 +143,7 @@ macro_rules! mmap_anno_test { // Export this to external crates pub use mmap_anno_test; -impl<'a> std::fmt::Display for MmapAnnotation<'a> { +impl std::fmt::Display for MmapAnnotation { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { MmapAnnotation::Space { name } => write!(f, "mmtk:space:{name}"),