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

Use const generics for array impls [part 1] #62435

Merged
merged 1 commit into from
Jul 7, 2019

Commits on Jul 7, 2019

  1. Use const generics for array impls, restricted to 0..=32

    - uses a never-stable core::array::LengthAtMost32 to bound the impls
    - includes a custom error message to avoid mentioning LengthAtMost32 too often
    - doesn't use macros for the slice implementations to avoid rust-lang#62433
    scottmcm committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    d6a9793 View commit details
    Browse the repository at this point in the history