diff options
| author | binarycat <binarycat@envs.net> | 2025-08-17 14:13:05 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-08-17 14:13:05 -0500 |
| commit | ab19755630ea6eb3c2f2a364300380ab01eff923 (patch) | |
| tree | 8186089e5963faaeaab529b246c62fd315a0cc43 /compiler/rustc_errors/src/snippet.rs | |
| parent | 425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0 (diff) | |
| download | rust-ab19755630ea6eb3c2f2a364300380ab01eff923.tar.gz rust-ab19755630ea6eb3c2f2a364300380ab01eff923.zip | |
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
