Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/revlog/patch.rs @ 45594: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 | 26c53ee51c68 |
children | bb523bff068b |
comparison
equal
deleted
inserted
replaced
45593:da30e4b553c3 | 45594:48438e8968a2 |
---|---|
251 self.data.extend(data.iter()); | 251 self.data.extend(data.iter()); |
252 self | 252 self |
253 } | 253 } |
254 | 254 |
255 pub fn get(&mut self) -> &[u8] { | 255 pub fn get(&mut self) -> &[u8] { |
256 &self.data[..] | 256 &self.data |
257 } | 257 } |
258 } | 258 } |
259 | 259 |
260 #[test] | 260 #[test] |
261 fn test_ends_before() { | 261 fn test_ends_before() { |