mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
405b22f1a3
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.