2 ms·
Ok in theory, but I don't think it applies here. Maybe it does in a cultural way. Arrayref seems somewhat niche, but its kind of in the standard library as of
by wmedrano 1mo ago
Ok in theory, but I don't think it applies here. Maybe it does in a cultural way.
Arrayref seems somewhat niche, but its kind of in the standard library as of Jan 2026 as std::slice::as_array https://doc.rust-lang.org/std/primitive.slice.html#method.as_array https://doc.rust-lang.org/std/primitive.slice.html#method.as...
- kibwen 1mo agoFor the example given in the arrayref docs, I'd say you should be using std::slice::as_chunks, stabilized in 1.88: https://doc.rust-lang.org/std/primitive.slice.html#method.as_chunks https://doc.rust-lang.org/std/primitive.slice.html#method.as...