diff rust/hg-core/src/revlog.rs @ 45602:1cef583541c0

hg-core: return Err if `offset != bytes.len()` (D8958#inline-14994 followup 2/2) [X] make `Index` owner of its bytes [X] make `Index::new` return an error if `offset != bytes.len()` Differential Revision: https://phab.mercurial-scm.org/D9107
author Antoine cezar<acezar@chwitlabs.fr>
date Mon, 28 Sep 2020 15:21:56 +0200
parents aebc976fd7d5
children 9eb07ab3f2d4
line wrap: on
line diff