about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-13 20:21:17 +0200
committerGitHub <noreply@github.com>2020-09-13 20:21:17 +0200
commit11a63bcdde74e16c58fad3296d1ed7da06121fc2 (patch)
tree3053cb58e3d6220bbf3c7f6540d00556de3291a6
parente460f8508efb9551859ed7499fa011e17006ea32 (diff)
parent20a2e095eca14319d233a70b87c1b4415737f94d (diff)
downloadrust-11a63bcdde74e16c58fad3296d1ed7da06121fc2.tar.gz
rust-11a63bcdde74e16c58fad3296d1ed7da06121fc2.zip
Rollup merge of #76663 - pickfire:patch-7, r=jonas-schievink
Simplify iter chain struct doc
-rw-r--r--library/core/src/iter/adapters/chain.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/library/core/src/iter/adapters/chain.rs b/library/core/src/iter/adapters/chain.rs
index 6700ef017bd..13c6a75d58b 100644
--- a/library/core/src/iter/adapters/chain.rs
+++ b/library/core/src/iter/adapters/chain.rs
@@ -4,11 +4,8 @@ use crate::usize;
 
 /// An iterator that links two iterators together, in a chain.
 ///
-/// This `struct` is created by the [`chain`] method on [`Iterator`]. See its
-/// documentation for more.
-///
-/// [`chain`]: trait.Iterator.html#method.chain
-/// [`Iterator`]: trait.Iterator.html
+/// This `struct` is created by [`Iterator::chain`]. See its documentation
+/// for more.
 #[derive(Clone, Debug)]
 #[must_use = "iterators are lazy and do nothing unless consumed"]
 #[stable(feature = "rust1", since = "1.0.0")]