about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-10 16:39:46 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-10 16:46:46 +1000
commit822b9316524f2387f804de5bed164abafb32f35a (patch)
tree1dcf11ea36a52df28b1bde0b882268a772c7dea1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent529bb5f2538c4d6ef294aaa1a31e45f264583dd9 (diff)
downloadrust-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