diff rust/hg-cpython/src/dagops.rs @ 47953:8f031a274cd6

rust: Move PyBytesWithData out of copy-tracing code So we can use it in other places to. Replace its `.data()` method with the `Deref<Target = [u8]>` trait, allowing this type to be used in generic contexts. Rename the type accordingly. Differential Revision: https://phab.mercurial-scm.org/D11395
author Simon Sapin <simon.sapin@octobus.net>
date Mon, 06 Sep 2021 13:39:54 +0200
parents f98f0e3ddaa1
children 8b8054b8e5a7
line wrap: on
line diff