diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-07 11:17:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-07 11:17:16 +0200 |
| commit | 6639604bd6103107e4d9925332650a360f1f49de (patch) | |
| tree | 367fef5d944cf42020aa4fe6117966ec3c223117 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 870ab12ea7976ad3c56eac6f0559b122e0f055c5 (diff) | |
| parent | b399e7ea7c99a24f43e9562b0fb5223833a8bb50 (diff) | |
| download | rust-6639604bd6103107e4d9925332650a360f1f49de.tar.gz rust-6639604bd6103107e4d9925332650a360f1f49de.zip | |
Rollup merge of #95753 - ChayimFriedman2:patch-1, r=dtolnay
Correct safety reasoning in `str::make_ascii_{lower,upper}case()`
I don't understand why the previous comment was used (it was inserted in #66564), but it doesn't explain why these functions are safe, only why `str::as_bytes{_mut}()` are safe.
If someone thinks they make perfect sense, I'm fine with closing this PR.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
