diff options
| author | Benoît du Garreau <bdgdlm@outlook.com> | 2024-02-07 16:21:16 +0100 |
|---|---|---|
| committer | Benoît du Garreau <bdgdlm@outlook.com> | 2024-02-07 16:46:28 +0100 |
| commit | 0a42a540c603846aa22f29f378a61a64c9d4383e (patch) | |
| tree | dad404fa90ea313e7dd072af4b62a44a568e59ee /compiler/rustc_pattern_analysis/src | |
| parent | 0809f78c190eb9fdf36353d423147827610f33c9 (diff) | |
| download | rust-0a42a540c603846aa22f29f378a61a64c9d4383e.tar.gz rust-0a42a540c603846aa22f29f378a61a64c9d4383e.zip | |
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_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
