3 ms·
std::array::IntoIter[1] is great. I used to maintain a crate[2] to do this. Of course doing so requires unsafe so I am happy to move that danger into std:: I g
by kevincox 6y ago
std::array::IntoIter[1] is great. I used to maintain a crate[2] to do this. Of course doing so requires unsafe so I am happy to move that danger into std::
I guess I can deprecate it now!
[1] https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#arrayintoiter-stabilisation https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#array...
[2] https://docs.rs/array_iterator https://docs.rs/array_iterator
- ibraheemdev 6y agoWhy the disclaimer? > This is not an officially supported Google product
- kevincox 6y agoBecause I worked at Google when I first made it.