hg-core: remove useless code (D8958#inline-14988 followup)
authorAntoine cezar<acezar@chwitlabs.fr>
Mon, 28 Sep 2020 14:01:57 +0200
changeset 45597 48438e8968a2
parent 45596 da30e4b553c3
child 45598 497657895b54
hg-core: remove useless code (D8958#inline-14988 followup) Differential Revision: https://phab.mercurial-scm.org/D9099
rust/hg-core/src/revlog/patch.rs
--- 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
         }
     }