mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
d3839ffb07
Summary: Boxed bytes slices (e.g., `Box<[u8]>`, `Rc<[u8]>`) are not very ergonomic to use and are somewhat unusual in Rust code. Use the more common and easier to use `Bytes` type instead. Since this type supports shallow, referenced-counted copies, there shouldn't be any new O(n) copying behavior compared to `Rc<[u8]>`. Reviewed By: markbt Differential Revision: D13754730 fbshipit-source-id: d5fbc8e39c84c56d30174f4bb194ee21a14bf944 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |