File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 39
39
//! ```
40
40
//!
41
41
//! An iterator has a method, [`next`], which when called, returns an
42
- //! [`Option`]`<Item>`. [`next`] will return `Some(Item)` as long as there
42
+ //! [`Option`]`<Item>`. [`next`] will return [ `Some(Item)`] as long as there
43
43
//! are elements, and once they've all been exhausted, will return `None` to
44
44
//! indicate that iteration is finished. Individual iterators may choose to
45
45
//! resume iteration, and so calling [`next`] again may or may not eventually
46
- //! start returning `Some(Item)` again at some point (for example, see [`TryIter`]).
46
+ //! start returning [ `Some(Item)`] again at some point (for example, see [`TryIter`]).
47
47
//!
48
48
//! [`Iterator`]'s full definition includes a number of other methods as well,
49
49
//! but they are default methods, built on top of [`next`], and so you get
53
53
//! more complex forms of processing. See the [Adapters](#adapters) section
54
54
//! below for more details.
55
55
//!
56
+ //! [`Some(Item)`]: Some
56
57
//! [`Iterator`]: trait.Iterator.html
57
58
//! [`next`]: trait.Iterator.html#tymethod.next
58
59
//! [`TryIter`]: ../../std/sync/mpsc/struct.TryIter.html
You can’t perform that action at this time.
0 commit comments