[Updated] [+ ] D9103: hg-core: use anonymous lifetime for `impl Chunk` (D8958#inline-15003 followup)
acezar (Antoine Cezar)
phabricator at mercurial-scm.org
Tue Sep 29 15:56:16 UTC 2020
acezar updated this revision to Diff 22916.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9103?vs=22889&id=22916
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9103/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9103
AFFECTED FILES
rust/hg-core/src/revlog/patch.rs
CHANGE DETAILS
diff --git a/rust/hg-core/src/revlog/patch.rs b/rust/hg-core/src/revlog/patch.rs
--- a/rust/hg-core/src/revlog/patch.rs
+++ b/rust/hg-core/src/revlog/patch.rs
@@ -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
To: acezar, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200929/5b9a8270/attachment-0002.html>
More information about the Mercurial-patches
mailing list