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

Check for aliasing in RawViewMut::from_shape_ptr with a debug assertion #1413

Merged
merged 1 commit into from
Aug 3, 2024

Commits on Aug 3, 2024

  1. Check for aliasing in RawViewMut::from_shape_ptr

    It should deny overlapping indexes. Because it's an unsafe function and
    we only do these checks on best-effort basis (caller has to ensure they
    are correct), it's a debug assertion.
    
    Removed the small addition to a doc comment that was done in a previous
    PR (it was an unfinished idea).
    
    Similar to pr #1410
    Finishes and closes #919
    bluss committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0e9f7f7 View commit details
    Browse the repository at this point in the history