diff rust/hg-core/src/lib.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 5fe25f8ef5d9
children a2eda1ff22aa
line wrap: on
line diff