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

Make io::BorrowedCursor::advance safe #120741

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Commits on Feb 7, 2024

  1. Make io::BorrowedCursor::advance safe

    This also keeps the old `advance` method under `advance_unchecked` name.
    
    This makes pattern like `std::io::default_read_buf` safe to write.
    a1phyr committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    0a42a54 View commit details
    Browse the repository at this point in the history