about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-09-12 13:35:03 +0800
committerGitHub <noreply@github.com>2020-09-12 13:35:03 +0800
commitb1e481d712fcf3d4b97ebf9e9a049c51701cf5e1 (patch)
tree932f69347401bb8bee515584e94bbb12eea58c6d
parent94a7ea271f0996848f8fa03c61067620736b1242 (diff)
downloadrust-b1e481d712fcf3d4b97ebf9e9a049c51701cf5e1.tar.gz
rust-b1e481d712fcf3d4b97ebf9e9a049c51701cf5e1.zip
Simplify iter zip struct doc
-rw-r--r--library/core/src/iter/adapters/zip.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/library/core/src/iter/adapters/zip.rs b/library/core/src/iter/adapters/zip.rs
index e02de0ce45d..a854f70dcd0 100644
--- a/library/core/src/iter/adapters/zip.rs
+++ b/library/core/src/iter/adapters/zip.rs
@@ -8,11 +8,8 @@ use super::super::{
 
 /// An iterator that iterates two other iterators simultaneously.
 ///
-/// This `struct` is created by the [`zip`] method on [`Iterator`]. See its
-/// documentation for more.
-///
-/// [`zip`]: trait.Iterator.html#method.zip
-/// [`Iterator`]: trait.Iterator.html
+/// This `struct` is created by [`Iterator::zip`]. See its documentation
+/// for more.
 #[derive(Clone)]
 #[must_use = "iterators are lazy and do nothing unless consumed"]
 #[stable(feature = "rust1", since = "1.0.0")]