Skip to content

Commit 21e636f

Browse files
committedDec 26, 2019
Remove redundant link texts
1 parent c0b16b4 commit 21e636f

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed
 

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ labels to triage issues:
367367
to fix the issue.
368368

369369
* The dark blue **final-comment-period** label marks bugs that are using the
370-
RFC signoff functionality of [rfcbot][rfcbot] and are currently in the final
370+
RFC signoff functionality of [rfcbot] and are currently in the final
371371
comment period.
372372

373373
* Red, **I**-prefixed labels indicate the **importance** of the issue. The
@@ -385,7 +385,7 @@ labels to triage issues:
385385
label.
386386

387387
* The gray **proposed-final-comment-period** label marks bugs that are using
388-
the RFC signoff functionality of [rfcbot][rfcbot] and are currently awaiting
388+
the RFC signoff functionality of [rfcbot] and are currently awaiting
389389
signoff of all team members in order to enter the final comment period.
390390

391391
* Pink, **regression**-prefixed labels track regressions from stable to the

‎src/liballoc/collections/binary_heap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ impl<T> FusedIterator for Iter<'_, T> {}
10941094

10951095
/// An owning iterator over the elements of a `BinaryHeap`.
10961096
///
1097-
/// This `struct` is created by the [`into_iter`] method on [`BinaryHeap`][`BinaryHeap`]
1097+
/// This `struct` is created by the [`into_iter`] method on [`BinaryHeap`]
10981098
/// (provided by the `IntoIterator` trait). See its documentation for more.
10991099
///
11001100
/// [`into_iter`]: struct.BinaryHeap.html#method.into_iter

‎src/liballoc/collections/btree/map.rs

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

284284
/// An owning iterator over the entries of a `BTreeMap`.
285285
///
286-
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`][`BTreeMap`]
286+
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`]
287287
/// (provided by the `IntoIterator` trait). See its documentation for more.
288288
///
289289
/// [`into_iter`]: struct.BTreeMap.html#method.into_iter

‎src/liballoc/collections/btree/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl<T: fmt::Debug> fmt::Debug for Iter<'_, T> {
8383

8484
/// An owning iterator over the items of a `BTreeSet`.
8585
///
86-
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`][`BTreeSet`]
86+
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`]
8787
/// (provided by the `IntoIterator` trait). See its documentation for more.
8888
///
8989
/// [`BTreeSet`]: struct.BTreeSet.html

‎src/liballoc/collections/linked_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl<T: fmt::Debug> fmt::Debug for IterMut<'_, T> {
105105

106106
/// An owning iterator over the elements of a `LinkedList`.
107107
///
108-
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`][`LinkedList`]
108+
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`]
109109
/// (provided by the `IntoIterator` trait). See its documentation for more.
110110
///
111111
/// [`into_iter`]: struct.LinkedList.html#method.into_iter

‎src/liballoc/collections/vec_deque.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@ impl<T> FusedIterator for IterMut<'_, T> {}
24742474

24752475
/// An owning iterator over the elements of a `VecDeque`.
24762476
///
2477-
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`][`VecDeque`]
2477+
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`]
24782478
/// (provided by the `IntoIterator` trait). See its documentation for more.
24792479
///
24802480
/// [`into_iter`]: struct.VecDeque.html#method.into_iter

‎src/liballoc/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
//!
331331
//! Additionally, the return value of this function is [`fmt::Result`] which is a
332332
//! type alias of [`Result`]`<(), `[`std::fmt::Error`]`>`. Formatting implementations
333-
//! should ensure that they propagate errors from the [`Formatter`][`Formatter`] (e.g., when
333+
//! should ensure that they propagate errors from the [`Formatter`] (e.g., when
334334
//! calling [`write!`]). However, they should never return errors spuriously. That
335335
//! is, a formatting implementation must and may only return an error if the
336336
//! passed-in [`Formatter`] returns an error. This is because, contrary to what

‎src/liballoc/vec.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ use crate::raw_vec::RawVec;
242242
/// ensures no unnecessary allocations or deallocations occur. Emptying a `Vec`
243243
/// and then filling it back up to the same [`len`] should incur no calls to
244244
/// the allocator. If you wish to free up unused memory, use
245-
/// [`shrink_to_fit`][`shrink_to_fit`].
245+
/// [`shrink_to_fit`].
246246
///
247247
/// [`push`] and [`insert`] will never (re)allocate if the reported capacity is
248248
/// sufficient. [`push`] and [`insert`] *will* (re)allocate if
@@ -2461,7 +2461,7 @@ where
24612461

24622462
/// An iterator that moves out of a vector.
24632463
///
2464-
/// This `struct` is created by the `into_iter` method on [`Vec`][`Vec`] (provided
2464+
/// This `struct` is created by the `into_iter` method on [`Vec`] (provided
24652465
/// by the [`IntoIterator`] trait).
24662466
///
24672467
/// [`Vec`]: struct.Vec.html

‎src/libcore/num/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl f32 {
226226
}
227227

228228
/// Returns `true` if the number is neither zero, infinite,
229-
/// [subnormal][subnormal], or `NaN`.
229+
/// [subnormal], or `NaN`.
230230
///
231231
/// ```
232232
/// use std::f32;

‎src/libcore/num/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl f64 {
226226
}
227227

228228
/// Returns `true` if the number is neither zero, infinite,
229-
/// [subnormal][subnormal], or `NaN`.
229+
/// [subnormal], or `NaN`.
230230
///
231231
/// ```
232232
/// use std::f64;

‎src/libcore/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ unsafe impl<A> TrustedLen for IterMut<'_, A> {}
13701370
/// The iterator yields one value if the result is [`Ok`], otherwise none.
13711371
///
13721372
/// This struct is created by the [`into_iter`] method on
1373-
/// [`Result`][`Result`] (provided by the [`IntoIterator`] trait).
1373+
/// [`Result`] (provided by the [`IntoIterator`] trait).
13741374
///
13751375
/// [`Ok`]: enum.Result.html#variant.Ok
13761376
/// [`Result`]: enum.Result.html

‎src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ impl<'a, K, V> IterMut<'a, K, V> {
10761076

10771077
/// An owning iterator over the entries of a `HashMap`.
10781078
///
1079-
/// This `struct` is created by the [`into_iter`] method on [`HashMap`][`HashMap`]
1079+
/// This `struct` is created by the [`into_iter`] method on [`HashMap`]
10801080
/// (provided by the `IntoIterator` trait). See its documentation for more.
10811081
///
10821082
/// [`into_iter`]: struct.HashMap.html#method.into_iter

‎src/libstd/collections/hash/set.rs

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

11021102
/// An owning iterator over the items of a `HashSet`.
11031103
///
1104-
/// This `struct` is created by the [`into_iter`] method on [`HashSet`][`HashSet`]
1104+
/// This `struct` is created by the [`into_iter`] method on [`HashSet`]
11051105
/// (provided by the `IntoIterator` trait). See its documentation for more.
11061106
///
11071107
/// [`HashSet`]: struct.HashSet.html

‎src/libstd/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Cross-platform path manipulation.
44
//!
5-
//! This module provides two types, [`PathBuf`] and [`Path`][`Path`] (akin to [`String`]
5+
//! This module provides two types, [`PathBuf`] and [`Path`] (akin to [`String`]
66
//! and [`str`]), for working with paths abstractly. These types are thin wrappers
77
//! around [`OsString`] and [`OsStr`] respectively, meaning that they work directly
88
//! 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
@@ -558,7 +558,7 @@ pub struct SendError<T>(#[stable(feature = "rust1", since = "1.0.0")] pub T);
558558
/// An error returned from the [`recv`] function on a [`Receiver`].
559559
///
560560
/// The [`recv`] operation can only fail if the sending half of a
561-
/// [`channel`][`channel`] (or [`sync_channel`]) is disconnected, implying that no further
561+
/// [`channel`] (or [`sync_channel`]) is disconnected, implying that no further
562562
/// messages will ever be received.
563563
///
564564
/// [`recv`]: struct.Receiver.html#method.recv

0 commit comments

Comments
 (0)
Please sign in to comment.