diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-10 16:39:46 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-10 16:46:46 +1000 |
| commit | 822b9316524f2387f804de5bed164abafb32f35a (patch) | |
| tree | 1dcf11ea36a52df28b1bde0b882268a772c7dea1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 529bb5f2538c4d6ef294aaa1a31e45f264583dd9 (diff) | |
| download | rust-822b9316524f2387f804de5bed164abafb32f35a.tar.gz rust-822b9316524f2387f804de5bed164abafb32f35a.zip | |
Avoid a `kw::Empty` usage.
`Option<Symbol>` is a much nicer and idiomatic way of representing "no name" using empty symbols. And it works naturally for the item ordering checking because `None < Some(_)` just like the empty string compares less than all non-empty strings. changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
