about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-06-09 10:23:39 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-06-16 11:25:34 +1000
commitbdbf9b297b2d3372dfe70763643942e008933207 (patch)
tree4ee4f3878d9b1eecaf6e41a2e370fbbb5033fb68 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent73c52b724a07900808483a5f06b928d703097cf1 (diff)
downloadrust-bdbf9b297b2d3372dfe70763643942e008933207.tar.gz
rust-bdbf9b297b2d3372dfe70763643942e008933207.zip
compare_const_vals: add a special case for certain ranges.
This commit removes the `a == b` early return, which isn't useful in
practice, and replaces it with one that helps matches with many ranges,
including char ranges.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions