diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2024-02-14 11:53:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 11:53:40 +0100 |
| commit | c1a80211f5a38cc08d79ec90f25d29aa4271c76a (patch) | |
| tree | 8e5b37e2e7ad161276e07b616fa5187746d86a5d /compiler/rustc_llvm/llvm-wrapper | |
| parent | bad2cb08dea2b271db728f52d8dc354d0b38a4e6 (diff) | |
| parent | 1c7ea307cfd58bd428d10e3d05681ce3058ce4a9 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
