]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #91881 - Patrick-Poitras:stabilize-iter-zip, r=scottmcm
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 15 Dec 2021 00:28:08 +0000 (01:28 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Dec 2021 00:28:08 +0000 (01:28 +0100)
Stabilize `iter::zip`

Hello all!

As the tracking issue (#83574) for `iter::zip` completed the final commenting period without any concerns being raised, I hereby submit this stabilization PR on the issue.

As the pull request that introduced the feature (#82917) states, the `iter::zip` function is a shorter way to zip two iterators. As it's generally a quality-of-life/ergonomic improvement, it has been integrated into the codebase without any trouble, and has been
used in many places across the rust compiler and standard library since March without any issues.

For more details, I would refer to `@cuviper's` original PR, or the [function's documentation](https://doc.rust-lang.org/std/iter/fn.zip.html).

1  2 
compiler/rustc_ast_lowering/src/lib.rs
compiler/rustc_codegen_llvm/src/lib.rs
library/std/src/lib.rs

Simple merge