about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-24 11:48:50 +0900
committerGitHub <noreply@github.com>2020-08-24 11:48:50 +0900
commit282d258cd100143ac2ab944e9a9d35b9f52b7d4b (patch)
treea758c060e96dd1bac715812df0fa7bdedabb81a7
parentd6de9616a16fa5c078836fb0b39173a1d0cc9d58 (diff)
parente9928d8926e0de92d41ca3e8ac997517369a82bd (diff)
downloadrust-282d258cd100143ac2ab944e9a9d35b9f52b7d4b.tar.gz
rust-282d258cd100143ac2ab944e9a9d35b9f52b7d4b.zip
Rollup merge of #75847 - camelid:patch-1, r=dtolnay
Switch to intra-doc links in `std::collections`

Part of #75080.

@rustbot modify labels: A-intra-doc-links T-doc T-rustdoc
-rw-r--r--library/std/src/collections/mod.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/library/std/src/collections/mod.rs b/library/std/src/collections/mod.rs
index b6488ae61b1..a1aab767eb2 100644
--- a/library/std/src/collections/mod.rs
+++ b/library/std/src/collections/mod.rs
@@ -396,15 +396,7 @@
 //! assert_eq!(map.keys().next().unwrap().b, "baz");
 //! ```
 //!
-//! [`Vec`]: ../../std/vec/struct.Vec.html
-//! [`HashMap`]: ../../std/collections/struct.HashMap.html
-//! [`VecDeque`]: ../../std/collections/struct.VecDeque.html
-//! [`LinkedList`]: ../../std/collections/struct.LinkedList.html
-//! [`BTreeMap`]: ../../std/collections/struct.BTreeMap.html
-//! [`HashSet`]: ../../std/collections/struct.HashSet.html
-//! [`BTreeSet`]: ../../std/collections/struct.BTreeSet.html
-//! [`BinaryHeap`]: ../../std/collections/struct.BinaryHeap.html
-//! [`IntoIterator`]: ../../std/iter/trait.IntoIterator.html
+//! [`IntoIterator`]: crate::iter::IntoIterator
 
 #![stable(feature = "rust1", since = "1.0.0")]