about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2025-06-15 21:47:48 +0200
committerThe 8472 <git@infinite-source.de>2025-06-15 22:40:44 +0200
commite6c300892dce9202e4f21359129569536945dfea (patch)
tree2fd2269ac810de45f8e08096d3d8cff6a8a92f39 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent75e7cf5f85aad82331a38deff24845b63eaf30f3 (diff)
downloadrust-e6c300892dce9202e4f21359129569536945dfea.tar.gz
rust-e6c300892dce9202e4f21359129569536945dfea.zip
small iter.intersperse.fold() optimization
No need to call into fold when the first item is already None,
this avoids some redundant work for empty iterators.

"But it uses Fuse" one might want to protest, but Fuse is specialized
and may call into the inner iterator anyway.

Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions