[Request] [+ ] D9099: hg-core: remove useless code (D8958#inline-14988 followup)
acezar (Antoine Cezar)
phabricator at mercurial-scm.org
Mon Sep 28 13:48:27 UTC 2020
acezar created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9099
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
@@ -253,7 +253,7 @@
}
pub fn get(&mut self) -> &[u8] {
- &self.data[..]
+ &self.data
}
}
To: acezar, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200928/372791b9/attachment-0001.html>
More information about the Mercurial-patches
mailing list