]> git.lizzy.rs Git - rust.git/commitdiff
Link from Fuse type docstring to iter.fuse that creates them
authorMartin Pool <mbp@sourcefrog.net>
Wed, 7 Oct 2015 02:29:27 +0000 (19:29 -0700)
committerMartin Pool <mbp@sourcefrog.net>
Wed, 7 Oct 2015 02:29:27 +0000 (19:29 -0700)
src/libcore/iter.rs

index 9337c501a3a68d71953e4d3212427a0c3a4e1a86..6a9c45b032ee35410b60afdccb925aedc9ec7253 100644 (file)
@@ -2338,6 +2338,9 @@ fn next_back(&mut self) -> Option<U::Item> {
 
 /// An iterator that yields `None` forever after the underlying iterator
 /// yields `None` once.
+///
+/// These can be created through
+/// [`iter.fuse()`](trait.Iterator.html#method.fuse).
 #[derive(Clone)]
 #[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
 #[stable(feature = "rust1", since = "1.0.0")]