diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-09 09:38:30 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-16 10:52:58 +1000 |
| commit | 3ab6ef19386c8df6d43bd474f356d2bc38942350 (patch) | |
| tree | 994eec61e2df77d97fdd91673452e4cb48c04d62 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | fab85ddbebcd99867344f05b610dc74709abbe6d (diff) | |
| download | rust-3ab6ef19386c8df6d43bd474f356d2bc38942350.tar.gz rust-3ab6ef19386c8df6d43bd474f356d2bc38942350.zip | |
Remove `from_bool` closure.
The code is clearer and simpler without it. Note that the `a == b` early return at the top of the function means the `a == b` test at the end of the function could never succeed.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
