about summary refs log tree commit diff
path: root/src/libstd/collections
diff options
context:
space:
mode:
authorMatthew Kraai <kraai@ftbfs.org>2019-12-26 05:04:46 -0800
committerMatthew Kraai <kraai@ftbfs.org>2019-12-26 05:04:46 -0800
commit21e636f1883ff8d7dd1d3a0e2db241e619a8ee72 (patch)
treed1ef573c3180f5f3dba3e9045c32bf04eff3f8c5 /src/libstd/collections
parentc0b16b4e6aa94cd83fd2c029356ba537dc4502c6 (diff)
downloadrust-21e636f1883ff8d7dd1d3a0e2db241e619a8ee72.tar.gz
rust-21e636f1883ff8d7dd1d3a0e2db241e619a8ee72.zip
Remove redundant link texts
Diffstat (limited to 'src/libstd/collections')
-rw-r--r--src/libstd/collections/hash/map.rs2
-rw-r--r--src/libstd/collections/hash/set.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index a928867d9de..fdc587ba5da 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -1076,7 +1076,7 @@ impl<'a, K, V> IterMut<'a, K, V> {
 
 /// An owning iterator over the entries of a `HashMap`.
 ///
-/// This `struct` is created by the [`into_iter`] method on [`HashMap`][`HashMap`]
+/// This `struct` is created by the [`into_iter`] method on [`HashMap`]
 /// (provided by the `IntoIterator` trait). See its documentation for more.
 ///
 /// [`into_iter`]: struct.HashMap.html#method.into_iter
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index fff64e9fc90..566e5146cf8 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -1101,7 +1101,7 @@ pub struct Iter<'a, K: 'a> {
 
 /// An owning iterator over the items of a `HashSet`.
 ///
-/// This `struct` is created by the [`into_iter`] method on [`HashSet`][`HashSet`]
+/// This `struct` is created by the [`into_iter`] method on [`HashSet`]
 /// (provided by the `IntoIterator` trait). See its documentation for more.
 ///
 /// [`HashSet`]: struct.HashSet.html