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

Implement by-value iterator for owned arrays #986

Merged
merged 7 commits into from
Apr 22, 2021
Merged

Implement by-value iterator for owned arrays #986

merged 7 commits into from
Apr 22, 2021

Commits on Apr 18, 2021

  1. API: Add must_use on slice_axis methods

    These return views (don't edit the array in place), so must_use is
    appropriate here.
    bluss committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    a5a283d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. API: Move Layout consts into the impl

    Layout is fully pub (but hidden) for legacy reasons - used from
    NdProducer trait. It's not a stable feature.
    bluss committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    73ffe90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d54fa80 View commit details
    Browse the repository at this point in the history
  3. intoiter: Move inner part of drop unreachable to its own function

    The IntoIter iterator will reuse the drop unreachable code from
    move_into, so we move the needed part into a separate function.
    bluss committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    7079aed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    65b46d2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    297a5a4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5766f4b View commit details
    Browse the repository at this point in the history