about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2024-02-14 11:53:40 +0100
committerGitHub <noreply@github.com>2024-02-14 11:53:40 +0100
commitc1a80211f5a38cc08d79ec90f25d29aa4271c76a (patch)
tree8e5b37e2e7ad161276e07b616fa5187746d86a5d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentbad2cb08dea2b271db728f52d8dc354d0b38a4e6 (diff)
parent1c7ea307cfd58bd428d10e3d05681ce3058ce4a9 (diff)
downloadrust-c1a80211f5a38cc08d79ec90f25d29aa4271c76a.tar.gz
rust-c1a80211f5a38cc08d79ec90f25d29aa4271c76a.zip
Rollup merge of #121024 - joseluis:feat-asciichar-default, r=scottmcm
implement `Default` for `AsciiChar`

This implements `Default` for `AsciiChar` in order to match `char`'s implementation.

From all the different possible ways to do this I think the clearest one is to have both `char` and `AsciiChar` impls together.

I've also updated the doc-comment of the default variant since rustdoc doesn't seem to indicate it otherwise. Probably the text could be improved, though. I couldn't find any similar examples in the codebase and suggestions are welcomed.

r? `@scottmcm`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions