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 09:38:30 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-06-16 10:52:58 +1000
commit3ab6ef19386c8df6d43bd474f356d2bc38942350 (patch)
tree994eec61e2df77d97fdd91673452e4cb48c04d62 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentfab85ddbebcd99867344f05b610dc74709abbe6d (diff)
downloadrust-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