diff --git a/rust/hg-core/src/dirstate/dirstate_map.rs b/rust/hg-core/src/dirstate/dirstate_map.rs
--- a/rust/hg-core/src/dirstate/dirstate_map.rs
+++ b/rust/hg-core/src/dirstate/dirstate_map.rs
@@ -284,10 +284,10 @@
}
#[timed]
- pub fn read<'a>(
+ pub fn read(
&mut self,
- file_contents: &'a [u8],
- ) -> Result