Skip to content

Commit

Permalink
Clean up header in iter docs for for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Sep 1, 2020
1 parent 397db05 commit e5c17bf
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 e5c17bf

Please sign in to comment.