diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-09 10:23:39 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-16 11:25:34 +1000 |
| commit | bdbf9b297b2d3372dfe70763643942e008933207 (patch) | |
| tree | 4ee4f3878d9b1eecaf6e41a2e370fbbb5033fb68 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 73c52b724a07900808483a5f06b928d703097cf1 (diff) | |
| download | rust-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
