about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-07-14 11:35:56 +0000
committerLzu Tao <taolzu@gmail.com>2020-07-17 13:00:50 +0000
commit67c1e896575ab0afca53edaefd731c13451dfad9 (patch)
tree03e7c70576a9403bac92e9e820b5962c7b6b627a /src/libcore
parent1a90ba73fb950961385b8e011b7472c681019647 (diff)
downloadrust-67c1e896575ab0afca53edaefd731c13451dfad9.tar.gz
rust-67c1e896575ab0afca53edaefd731c13451dfad9.zip
Remove code span for impl
Because the old one is harder to read and confuse typing checkers.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs
index 3941a4c9700..9b528cdbe30 100644
--- a/src/libcore/iter/mod.rs
+++ b/src/libcore/iter/mod.rs
@@ -72,9 +72,9 @@
 //! # Implementing Iterator
 //!
 //! Creating an iterator of your own involves two steps: creating a `struct` to
-//! hold the iterator's state, and then `impl`ementing [`Iterator`] for that
-//! `struct`. This is why there are so many `struct`s in this module: there is
-//! one for each iterator and iterator adapter.
+//! hold the iterator's state, and then implementing [`Iterator`] for that `struct`.
+//! This is why there are so many `struct`s in this module: there is one for
+//! each iterator and iterator adapter.
 //!
 //! Let's make an iterator named `Counter` which counts from `1` to `5`:
 //!