about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorRoss MacArthur <ross@macarthur.io>2024-06-04 10:51:05 +0200
committerRoss MacArthur <ross@macarthur.io>2024-06-04 10:51:05 +0200
commit6a84995fae01eb0ae18ef6bfc41b2979ca760447 (patch)
treefe7d10512d0b435658d55fd458f82b7dde7cfa75 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent27529d5c2526eab5aa03d765426c44ea55c5d269 (diff)
downloadrust-6a84995fae01eb0ae18ef6bfc41b2979ca760447.tar.gz
rust-6a84995fae01eb0ae18ef6bfc41b2979ca760447.zip
Add function `core::iter::chain`
The addition of `core::iter::zip` (#82917) set a precedent for adding
plain functions for iterator adaptors. Adding `chain` makes it a little
easier to `chain` two iterators.

```
for (x, y) in chain(xs, ys) {}
// vs.
for (x, y) in xs.into_iter().chain(ys) {}
```
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions