]> git.lizzy.rs Git - rust.git/commitdiff
Add missing link in docs
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 26 Nov 2018 16:22:56 +0000 (17:22 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 26 Nov 2018 16:22:56 +0000 (17:22 +0100)
src/libcore/iter/iterator.rs

index 2903c370df898e3d107f6946d14268dd69f09693..6662d56393cadd462fe00cac6c603c187a1fde2a 100644 (file)
@@ -161,7 +161,7 @@ pub trait Iterator {
     /// That said, the implementation should provide a correct estimation,
     /// because otherwise it would be a violation of the trait's protocol.
     ///
-    /// The default implementation returns `(0, None)` which is correct for any
+    /// The default implementation returns `(0, `[`None`]`)` which is correct for any
     /// iterator.
     ///
     /// [`usize`]: ../../std/primitive.usize.html