Skip to content

Commit e5c17bf

Browse files
committed
Clean up header in iter docs for for loops
1 parent 397db05 commit e5c17bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
//! methods like `nth` and `fold` if an iterator can compute them more efficiently without calling
136136
//! `next`.
137137
//!
138-
//! # for Loops and IntoIterator
138+
//! # `for` loops and `IntoIterator`
139139
//!
140140
//! Rust's `for` loop syntax is actually sugar for iterators. Here's a basic
141141
//! example of `for`:

0 commit comments

Comments
 (0)