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:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-03-03 17:50:08 +0900
committerGitHub <noreply@github.com>2020-03-03 17:50:08 +0900
commitf19684c7cf1819cf42b73d4358740c1392198e4d (patch)
tree7128cfbecc9a276891e46977f4a44a537ddd44eb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent4699b29a04e84746e28ef688f02993c3b4d54951 (diff)
parent21affdd00d52fba6388f1858a52c253b3f83a90d (diff)
downloadrust-f19684c7cf1819cf42b73d4358740c1392198e4d.tar.gz
rust-f19684c7cf1819cf42b73d4358740c1392198e4d.zip
Rollup merge of #69619 - matthiaskrgr:misc, r=eddyb
more cleanups

* use starts_with() instead of chars().next() == Some(x)
* use subsec_micros() instead of subsec_nanos() / 1000
* use for (idx, item) in iter.enumerate() instead of manually counting loop iterations with variables
* use values() or keys() respectively when iterating only over keys or values of maps.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions