summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-18 12:04:24 +0100
committerGitHub <noreply@github.com>2023-03-18 12:04:24 +0100
commit0aa0043141004d9a3cfc94b46c78eaa789158b80 (patch)
tree385cc4425265e21a6b7746c5bee6636d4ac906f9 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parente81a07268b233ec6940b65444a6c32ceef28ce10 (diff)
parent35088797aec481a9549d5d495b27ce9f1e3a39dd (diff)
downloadrust-0aa0043141004d9a3cfc94b46c78eaa789158b80.tar.gz
Rollup merge of #109287 - scottmcm:hash-slice-size-of-val, r=oli-obk
Use `size_of_val` instead of manual calculation Very minor thing that I happened to notice in passing, but it's both shorter and [means it gets `mul nsw`](https://rust.godbolt.org/z/Y9KxYETv5), so why not.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions