diff rust/hg-core/examples/nodemap/main.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 8f7c6656ac79
children 6380efb82191
line wrap: on
line diff