# HG changeset patch # User Antoine cezar # Date 1601296145 -7200 # Node ID 412a5827ad02497b6fb0e91904239b8703c4ceeb # Parent d07e4656ff5a24ae821962a4504a76bbb6188d4b hg-core: use anonymous lifetime for `impl Chunk` (D8958#inline-15003 followup) Differential Revision: https://phab.mercurial-scm.org/D9103 diff -r d07e4656ff5a -r 412a5827ad02 rust/hg-core/src/revlog/patch.rs --- a/rust/hg-core/src/revlog/patch.rs Mon Sep 28 14:27:04 2020 +0200 +++ b/rust/hg-core/src/revlog/patch.rs Mon Sep 28 14:29:05 2020 +0200 @@ -17,7 +17,7 @@ data: &'a [u8], } -impl<'a> Chunk<'a> { +impl Chunk<'_> { /// Adjusted start of the chunk to replace. /// /// Offset allow to take into account the growth/shrinkage of data