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 array_windows fn #75026

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Add array_windows fn #75026

merged 1 commit into from
Sep 16, 2020

Commits on Sep 16, 2020

  1. Add array window fn

    Updated issue to rust-lang#75027
    
    Update to rm oob access
    
    And hopefully fix docs as well
    
    Fixed naming conflict in test
    
    Fix test which used 1-indexing
    
    Nth starts from 0, woops
    
    Fix a bunch of off by 1 errors
    
    See https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=757b311987e3fae1ca47122969acda5a
    
    Add even more off by 1 errors
    
    And also write `next` and `next_back` in terms of `nth` and `nth_back`.
    
    Run fmt
    
    Fix forgetting to change fn name in test
    
    add nth_back test & document unsafe
    
    Remove as_ref().unwrap()
    Documented occurrences of unsafe, noting what invariants are maintained
    JulianKnodt committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    f240abc View commit details
    Browse the repository at this point in the history