Mercurial > hg-stable
changeset 45601:412a5827ad02
hg-core: use anonymous lifetime for `impl Chunk` (D8958#inline-15003 followup)
Differential Revision: https://phab.mercurial-scm.org/D9103
author | Antoine cezar<acezar@chwitlabs.fr> |
---|---|
date | Mon, 28 Sep 2020 14:29:05 +0200 |
parents | d07e4656ff5a |
children | cee7a8e37e9c |
files | rust/hg-core/src/revlog/patch.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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