diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-26 22:26:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 22:26:12 +0200 |
| commit | c0b1c1aedf1f472fc5713f1334936c0873fb06af (patch) | |
| tree | f8bff6b132c11f4ccd434d4d0ec493541f39cc45 /compiler/rustc_session/src/errors.rs | |
| parent | 2656c987d6988c764a1b77a326096faff95979c3 (diff) | |
| parent | 94ecabfc4eea1c58dfd412b00e4a518f0dc87431 (diff) | |
| download | rust-c0b1c1aedf1f472fc5713f1334936c0873fb06af.tar.gz rust-c0b1c1aedf1f472fc5713f1334936c0873fb06af.zip | |
Rollup merge of #117243 - chfogelman:replace-not-swap-comment, r=thomcc
Explain implementation of mem::replace This adds a comment to explain why `mem::replace` is not implemented in terms of `mem::swap` to prevent [naïfs like me](https://github.com/rust-lang/rust/pull/117189) from trying to "fix" it.
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
