diff --git a/lib/src/repo.rs b/lib/src/repo.rs index 68bff5834..ad555b4f5 100644 --- a/lib/src/repo.rs +++ b/lib/src/repo.rs @@ -283,10 +283,10 @@ impl ReadonlyRepo { }) } - pub fn resolve_change_id_prefix<'a>( - &'a self, + pub fn resolve_change_id_prefix( + &self, prefix: &HexPrefix, - ) -> PrefixResolution>> { + ) -> PrefixResolution> { let index = self.index(); self.change_id_index() .resolve_prefix_with(prefix, |&pos| index.entry_by_pos(pos))