- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
          Stabilize iter::zip
          #91881
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
  
    Stabilize iter::zip
  
  #91881
              
            Conversation
| Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @m-ou-se (or someone else) soon. Please see the contribution instructions for more information. | 
| @workingjubilee I have undid those changes and then redid them. I don't know if that helps you at all, please let me know if it doesn't. | 
| ☔ The latest upstream changes (presumably #91902) made this pull request unmergeable. Please resolve the merge conflicts. | 
| @Patrick-Poitras can you squash the first two commits together? That way the only commit modifying clippy is the last one. https://rustc-dev-guide.rust-lang.org/git.html#advanced-rebasing | 
7214497    to
    a1c3189      
    Compare
  
    | @jyn514 done! Thanks to @cuviper and @wesleywiser on Zulip for helping me out when I messed up the merging! | 
a1c3189    to
    b94d89f      
    Compare
  
    decef6d    to
    016ee5f      
    Compare
  
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
016ee5f    to
    4665827      
    Compare
  
    4665827    to
    047adb5      
    Compare
  
    | Thanks for the PR, @Patrick-Poitras! Sorry it was so 😬 | 
| 📌 Commit 047adb5 has been approved by  | 
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#90939 (Tweak errors coming from `for`-loop, `?` and `.await` desugaring) - rust-lang#91859 (Iterator::cycle() — document empty iterator special case) - rust-lang#91868 (Use `OutputFilenames` to generate output file for `-Zllvm-time-trace`) - rust-lang#91870 (Revert setting a default for the MACOSX_DEPLOYMENT_TARGET env var for linking) - rust-lang#91881 (Stabilize `iter::zip`) - rust-lang#91882 (Remove `in_band_lifetimes` from `rustc_typeck`) - rust-lang#91940 (Update cargo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
… r=scottmcm Stabilize `iter::zip` Hello all! As the tracking issue (rust-lang#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 (rust-lang#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).
Hello all!
As the tracking issue (#83574) for
iter::zipcompleted 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::zipfunction 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 beenused 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.