about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-17 00:23:15 +0000
committerbors <bors@rust-lang.org>2024-02-17 00:23:15 +0000
commit405b22f1a3a39eef5f4698b3662097c8a4f6f5d0 (patch)
tree392d21332697dbf673926d68eb49ae13c3b94d0d /compiler/rustc_hir_analysis/src
parentbccb9bbb418a30aeb332052e721beb6ebc6b1ce7 (diff)
parent0a42a540c603846aa22f29f378a61a64c9d4383e (diff)
downloadrust-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