diff options
| author | bors <bors@rust-lang.org> | 2024-02-17 00:23:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-17 00:23:15 +0000 |
| commit | 405b22f1a3a39eef5f4698b3662097c8a4f6f5d0 (patch) | |
| tree | 392d21332697dbf673926d68eb49ae13c3b94d0d /compiler/rustc_hir_analysis/src | |
| parent | bccb9bbb418a30aeb332052e721beb6ebc6b1ce7 (diff) | |
| parent | 0a42a540c603846aa22f29f378a61a64c9d4383e (diff) | |
| download | rust-405b22f1a3a39eef5f4698b3662097c8a4f6f5d0.tar.gz rust-405b22f1a3a39eef5f4698b3662097c8a4f6f5d0.zip | |
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.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions
