about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-21 16:29:55 +0100
committerGitHub <noreply@github.com>2018-02-21 16:29:55 +0100
commitd9f5eeb57e5d3d1d7abff2efa19b35c57ccf21b3 (patch)
treea34ca1a722681a4c9b2b63b2965361c8f0f20abb /src/libcore
parentd6e649a631c05b4d0d6c641b9398cb07f4d48224 (diff)
parent3f931515df876ac21760edc1c1c13b8cf351cf3d (diff)
downloadrust-d9f5eeb57e5d3d1d7abff2efa19b35c57ccf21b3.tar.gz
rust-d9f5eeb57e5d3d1d7abff2efa19b35c57ccf21b3.zip
Rollup merge of #48360 - redcape:redcape-count-doc-fix, r=cramertj
Fix count usize link typo in docs

The docs point to isize when the link should be going to usize instead. Fix the doc.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 33adb3f49dd..c1a0518cd22 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -168,7 +168,7 @@ pub trait Iterator {
     /// This function might panic if the iterator has more than [`usize::MAX`]
     /// elements.
     ///
-    /// [`usize::MAX`]: ../../std/isize/constant.MAX.html
+    /// [`usize::MAX`]: ../../std/usize/constant.MAX.html
     ///
     /// # Examples
     ///