changeset 45597:48438e8968a2

hg-core: remove useless code (D8958#inline-14988 followup) Differential Revision: https://phab.mercurial-scm.org/D9099
author Antoine cezar<acezar@chwitlabs.fr>
date Mon, 28 Sep 2020 14:01:57 +0200
parents da30e4b553c3
children 497657895b54
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 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
         }
     }