about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-07 11:17:16 +0200
committerGitHub <noreply@github.com>2022-04-07 11:17:16 +0200
commit6639604bd6103107e4d9925332650a360f1f49de (patch)
tree367fef5d944cf42020aa4fe6117966ec3c223117 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent870ab12ea7976ad3c56eac6f0559b122e0f055c5 (diff)
parentb399e7ea7c99a24f43e9562b0fb5223833a8bb50 (diff)
downloadrust-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