Skip to content

Commit

Permalink
Rollup merge of rust-lang#76221 - camelid:cleanup-iter-for, r=jyn514
Browse files Browse the repository at this point in the history
Clean up header in `iter` docs for `for` loops

@rustbot modify labels: T-doc
  • Loading branch information
tmandry authored Sep 2, 2020
2 parents 56b5de2 + e5c17bf commit 4dd75f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit 4dd75f8

Please sign in to comment.