Skip to content

Commit d79b511

Browse files
Fix invalid linkage
1 parent 295f25b commit d79b511

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/libcollections/binary_heap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ impl<'a, T> FusedIterator for Iter<'a, T> {}
10421042

10431043
/// An owning iterator over the elements of a `BinaryHeap`.
10441044
///
1045-
/// This `struct` is created by the [`into_iter`] method on [`BinaryHeap`]
1045+
/// This `struct` is created by the [`into_iter`] method on [`BinaryHeap`][`BinaryHeap`]
10461046
/// (provided by the `IntoIterator` trait). See its documentation for more.
10471047
///
10481048
/// [`into_iter`]: struct.BinaryHeap.html#method.into_iter

src/libcollections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ pub struct IterMut<'a, K: 'a, V: 'a> {
298298

299299
/// An owning iterator over the entries of a `BTreeMap`.
300300
///
301-
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`]
301+
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`][`BTreeMap`]
302302
/// (provided by the `IntoIterator` trait). See its documentation for more.
303303
///
304304
/// [`into_iter`]: struct.BTreeMap.html#method.into_iter

src/libcollections/btree/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl<'a, T: 'a + fmt::Debug> fmt::Debug for Iter<'a, T> {
9797

9898
/// An owning iterator over the items of a `BTreeSet`.
9999
///
100-
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`]
100+
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`][`BTreeSet`]
101101
/// (provided by the `IntoIterator` trait). See its documentation for more.
102102
///
103103
/// [`BTreeSet`]: struct.BTreeSet.html

src/libcollections/linked_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<'a, T: 'a + fmt::Debug> fmt::Debug for IterMut<'a, T> {
115115

116116
/// An owning iterator over the elements of a `LinkedList`.
117117
///
118-
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`]
118+
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`][`LinkedList`]
119119
/// (provided by the `IntoIterator` trait). See its documentation for more.
120120
///
121121
/// [`into_iter`]: struct.LinkedList.html#method.into_iter

src/libcollections/vec_deque.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ impl<'a, T> FusedIterator for IterMut<'a, T> {}
20702070

20712071
/// An owning iterator over the elements of a `VecDeque`.
20722072
///
2073-
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`]
2073+
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`][`VecDeque`]
20742074
/// (provided by the `IntoIterator` trait). See its documentation for more.
20752075
///
20762076
/// [`into_iter`]: struct.VecDeque.html#method.into_iter

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ pub struct IterMut<'a, K: 'a, V: 'a> {
13771377

13781378
/// An owning iterator over the entries of a `HashMap`.
13791379
///
1380-
/// This `struct` is created by the [`into_iter`] method on [`HashMap`]
1380+
/// This `struct` is created by the [`into_iter`] method on [`HashMap`][`HashMap`]
13811381
/// (provided by the `IntoIterator` trait). See its documentation for more.
13821382
///
13831383
/// [`into_iter`]: struct.HashMap.html#method.into_iter

src/libstd/collections/hash/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ pub struct Iter<'a, K: 'a> {
890890

891891
/// An owning iterator over the items of a `HashSet`.
892892
///
893-
/// This `struct` is created by the [`into_iter`] method on [`HashSet`]
893+
/// This `struct` is created by the [`into_iter`] method on [`HashSet`][`HashSet`]
894894
/// (provided by the `IntoIterator` trait). See its documentation for more.
895895
///
896896
/// [`HashSet`]: struct.HashSet.html

src/libstd/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Cross-platform path manipulation.
1212
//!
13-
//! This module provides two types, [`PathBuf`] and [`Path`] (akin to [`String`]
13+
//! This module provides two types, [`PathBuf`] and [`Path`][`Path`] (akin to [`String`]
1414
//! and [`str`]), for working with paths abstractly. These types are thin wrappers
1515
//! around [`OsString`] and [`OsStr`] respectively, meaning that they work directly
1616
//! on strings according to the local platform's path syntax.

src/libstd/sync/mpsc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ pub struct SendError<T>(#[stable(feature = "rust1", since = "1.0.0")] pub T);
452452
/// An error returned from the [`recv`] function on a [`Receiver`].
453453
///
454454
/// The [`recv`] operation can only fail if the sending half of a
455-
/// [`channel`] (or [`sync_channel`]) is disconnected, implying that no further
455+
/// [`channel`][`channel`] (or [`sync_channel`]) is disconnected, implying that no further
456456
/// messages will ever be received.
457457
///
458458
/// [`recv`]: struct.Receiver.html#method.recv

0 commit comments

Comments
 (0)