Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [T]::as_chunks(_mut) #76635

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Add [T]::as_chunks(_mut) #76635

merged 1 commit into from
Oct 27, 2020

Commits on Oct 4, 2020

  1. Add [T]::as_chunks_mut (as unstable)

    Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`.  The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own.
    scottmcm committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    652f34d View commit details
    Browse the repository at this point in the history