]> git.lizzy.rs Git - rust.git/commitdiff
Indicate keywords are code-like in Fuse::reset_fuse doc comment
authorCorey Farwell <coreyf@rwell.org>
Sat, 18 Apr 2015 15:55:40 +0000 (11:55 -0400)
committerCorey Farwell <coreyf@rwell.org>
Sat, 18 Apr 2015 20:48:29 +0000 (16:48 -0400)
src/libcore/iter.rs

index 16ee38898803fd0bb0194c9fdf61f80ca570638b..24ef8a6e01ac2b7903869c8890cebb9db22848a5 100644 (file)
@@ -2246,8 +2246,9 @@ fn idx(&mut self, index: usize) -> Option<<I as Iterator>::Item> {
 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) {