bors 405b22f1a3 Auto merge of #120741 - a1phyr:safe_buffer_advance, r=m-ou-se
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.
2024-02-17 00:23:15 +00:00
..
2024-01-11 15:04:48 +03:00
2024-01-11 15:04:48 +03:00
2024-02-07 16:46:28 +01:00
2023-12-10 10:56:22 +08:00
2023-06-29 01:55:03 +02:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2024-01-11 15:04:48 +03:00
2023-07-03 14:05:55 +02:00
2024-02-15 08:09:42 +01:00
2024-02-07 10:42:01 +08:00
2023-07-12 21:38:55 -04:00
2023-11-11 22:54:07 +00:00
2024-01-11 15:04:48 +03:00
2023-11-26 08:50:39 -05:00
2024-01-24 14:24:57 +01:00