diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-08-19 19:50:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 19:50:01 +0800 |
| commit | bb4af94006e275b3b665c00ced2a08955bd1c085 (patch) | |
| tree | 0086cbd44f9a68c44f23a996d78ef24b2d2782ab /compiler/rustc_errors/src/snippet.rs | |
| parent | 8365fcb2b840c95eeb0bc377af8bd498fad22245 (diff) | |
| parent | ab19755630ea6eb3c2f2a364300380ab01eff923 (diff) | |
| download | rust-bb4af94006e275b3b665c00ced2a08955bd1c085.tar.gz rust-bb4af94006e275b3b665c00ced2a08955bd1c085.zip | |
Rollup merge of #145538 - lolbinarycat:std-bufreader-buffer-backshift-less, r=tgross35
bufreader::Buffer::backshift: don't move the uninit bytes previous code was perfectly sound because of MaybeUninit, but it did waste cycles on copying memory that is known to be uninitialized.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
