]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #74373 - lcnr:array_chunks, r=withoutboats
authorbors <bors@rust-lang.org>
Sat, 1 Aug 2020 06:54:14 +0000 (06:54 +0000)
committerbors <bors@rust-lang.org>
Sat, 1 Aug 2020 06:54:14 +0000 (06:54 +0000)
add `slice::array_chunks` to std

Now that #74113 has landed, these methods are suddenly usable. A rebirth of #72334

Tests are directly copied from `chunks_exact` and some additional tests for type inference.

r? @withoutboats as you are both part of t-libs and working on const generics. closes #60735

1  2 
library/alloc/src/lib.rs

Simple merge