diff options
| author | Kevin Reid <kpreid@switchb.org> | 2024-05-22 18:03:18 -0700 |
|---|---|---|
| committer | Kevin Reid <kpreid@switchb.org> | 2024-05-22 18:03:18 -0700 |
| commit | cfa150b0ddc28ea3723a3b4d0916e729dcea3246 (patch) | |
| tree | dfe9e1d8f6d0a2e1f6090bf231d593155f6e28c7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 05c40536285245d31f2bd6ed43c5bc43cc768752 (diff) | |
| download | rust-cfa150b0ddc28ea3723a3b4d0916e729dcea3246.tar.gz rust-cfa150b0ddc28ea3723a3b4d0916e729dcea3246.zip | |
Rephrase and expand `empty_enum` documentation.
* Remove incorrect claim that “wrappers around it are the conventional way to define an uninhabited type”. * Discuss why one would use `!`, a newtype struct, or keep the enum. * Add links to relevant documentation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
