Skip to content

Commit 4dd75f8

Browse files
authored
Rollup merge of #76221 - camelid:cleanup-iter-for, r=jyn514
Clean up header in `iter` docs for `for` loops @rustbot modify labels: T-doc
2 parents 56b5de2 + e5c17bf commit 4dd75f8

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)