mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 14:07:04 +00:00
Rollup merge of #76221 - camelid:cleanup-iter-for, r=jyn514
Clean up header in `iter` docs for `for` loops @rustbot modify labels: T-doc
This commit is contained in:
commit
4dd75f8049
@ -135,7 +135,7 @@
|
||||
//! methods like `nth` and `fold` if an iterator can compute them more efficiently without calling
|
||||
//! `next`.
|
||||
//!
|
||||
//! # for Loops and IntoIterator
|
||||
//! # `for` loops and `IntoIterator`
|
||||
//!
|
||||
//! Rust's `for` loop syntax is actually sugar for iterators. Here's a basic
|
||||
//! example of `for`:
|
||||
|
Loading…
Reference in New Issue
Block a user