about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-04-18 11:55:40 -0400
committerCorey Farwell <coreyf@rwell.org>2015-04-18 16:48:29 -0400
commitd2ed11862c5abe175ca158bece81b77663d69306 (patch)
treef7e4a113a32f6bc3f03580e957b413bd496ca681
parentfcf637b19f1a94dcf1748b8b29fca100f150eb0a (diff)
downloadrust-d2ed11862c5abe175ca158bece81b77663d69306.tar.gz
rust-d2ed11862c5abe175ca158bece81b77663d69306.zip
Indicate keywords are code-like in Fuse::reset_fuse doc comment
-rw-r--r--src/libcore/iter.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 16ee3889880..24ef8a6e01a 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -2246,8 +2246,9 @@ impl<I> RandomAccessIterator for Fuse<I> where I: RandomAccessIterator {
 impl<I> ExactSizeIterator for Fuse<I> where I: ExactSizeIterator {}
 
 impl<I> Fuse<I> {
-    /// Resets the fuse such that the next call to .next() or .next_back() will
-    /// call the underlying iterator again even if it previously returned None.
+    /// Resets the `Fuse` such that the next call to `.next()` or
+    /// `.next_back()` will call the underlying iterator again even if it
+    /// previously returned `None`.
     #[inline]
     #[unstable(feature = "core", reason = "seems marginal")]
     pub fn reset_fuse(&mut self) {