Since Vec exposes its implementation, I recommend putting these methods in a separate package on crates.io.
The only problem with this being that the allocation system is unstable, so you can't use Rust's allocator.
Since Vec exposes its implementation, I recommend putting these methods in a separate package on crates.io.
The only problem with this being that the allocation system is unstable, so you can't use Rust's allocator.