Skip to content

Commit 80f87bf

Browse files
authored
Rollup merge of rust-lang#76221 - camelid:cleanup-iter-for, r=jyn514
Clean up header in `iter` docs for `for` loops @rustbot modify labels: T-doc
2 parents a9cf858 + 6ad6e9e commit 80f87bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/iter/mod.rs

Lines changed: 1 addition & 1 deletion
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)