Clean up header in iter docs for for loops

This commit is contained in:
Camelid 2020-09-01 15:48:39 -07:00
parent 397db054cb
commit e5c17bff35

View File

@ -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`: