Skip to content

Commit 67c1e89

Browse files
committed
Remove code span for impl
Because the old one is harder to read and confuse typing checkers.
1 parent 1a90ba7 commit 67c1e89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/iter/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
//! # Implementing Iterator
7373
//!
7474
//! Creating an iterator of your own involves two steps: creating a `struct` to
75-
//! hold the iterator's state, and then `impl`ementing [`Iterator`] for that
76-
//! `struct`. This is why there are so many `struct`s in this module: there is
77-
//! one for each iterator and iterator adapter.
75+
//! hold the iterator's state, and then implementing [`Iterator`] for that `struct`.
76+
//! This is why there are so many `struct`s in this module: there is one for
77+
//! each iterator and iterator adapter.
7878
//!
7979
//! Let's make an iterator named `Counter` which counts from `1` to `5`:
8080
//!

0 commit comments

Comments
 (0)