From e5c17bff3514cf951ffb304ddd1d5fe1887cca65 Mon Sep 17 00:00:00 2001 From: Camelid Date: Tue, 1 Sep 2020 15:48:39 -0700 Subject: [PATCH] Clean up header in `iter` docs for `for` loops --- library/core/src/iter/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/iter/mod.rs b/library/core/src/iter/mod.rs index 28b22f80e2c1b..1be9c4de91687 100644 --- a/library/core/src/iter/mod.rs +++ b/library/core/src/iter/mod.rs @@ -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`: