mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
c675af82b4
This does not suggest adding such a function to the public API. This is just for the purpose of avoiding duplicate code. Many array methods already contained the same kind of code and there are still many array related methods to come (e.g. `Iterator::{chunks, map_windows, next_n, ...}`) which all basically need this functionality. Writing custom `unsafe` code for each of those seems not like a good idea. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |