hg-core: remove useless code (D8958#inline-14988 followup)
Differential Revision: https://phab.mercurial-scm.org/D9099
--- a/rust/hg-core/src/revlog/patch.rs Mon Sep 28 13:55:47 2020 +0200
+++ b/rust/hg-core/src/revlog/patch.rs Mon Sep 28 14:01:57 2020 +0200
@@ -253,7 +253,7 @@
}
pub fn get(&mut self) -> &[u8] {
- &self.data[..]
+ &self.data
}
}