diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-11-03 13:35:49 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-11-03 15:58:19 +1100 |
| commit | 34b32b0dac9da3fad7861bdc2bad89d771172bb3 (patch) | |
| tree | a7917a88980232aac0e700871ad326269b215c96 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 84ca2c3bab370ee58ebd23050e9286e1d9e664b9 (diff) | |
| download | rust-34b32b0dac9da3fad7861bdc2bad89d771172bb3.tar.gz rust-34b32b0dac9da3fad7861bdc2bad89d771172bb3.zip | |
Use `Mode` less.
It's passed to numerous places where we just need an `is_byte` bool. Passing the bool avoids the need for some assertions. Also rename `is_bytes()` as `is_byte()`, to better match `Mode::Byte`, `Mode::ByteStr`, and `Mode::RawByteStr`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
