diff options
| author | Matthew Kraai <kraai@ftbfs.org> | 2019-12-26 05:04:46 -0800 |
|---|---|---|
| committer | Matthew Kraai <kraai@ftbfs.org> | 2019-12-26 05:04:46 -0800 |
| commit | 21e636f1883ff8d7dd1d3a0e2db241e619a8ee72 (patch) | |
| tree | d1ef573c3180f5f3dba3e9045c32bf04eff3f8c5 /src/liballoc/vec.rs | |
| parent | c0b16b4e6aa94cd83fd2c029356ba537dc4502c6 (diff) | |
| download | rust-21e636f1883ff8d7dd1d3a0e2db241e619a8ee72.tar.gz rust-21e636f1883ff8d7dd1d3a0e2db241e619a8ee72.zip | |
Remove redundant link texts
Diffstat (limited to 'src/liballoc/vec.rs')
| -rw-r--r-- | src/liballoc/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index dcd7dc49526..93a51ccb207 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -242,7 +242,7 @@ use crate::raw_vec::RawVec; /// ensures no unnecessary allocations or deallocations occur. Emptying a `Vec` /// and then filling it back up to the same [`len`] should incur no calls to /// the allocator. If you wish to free up unused memory, use -/// [`shrink_to_fit`][`shrink_to_fit`]. +/// [`shrink_to_fit`]. /// /// [`push`] and [`insert`] will never (re)allocate if the reported capacity is /// sufficient. [`push`] and [`insert`] *will* (re)allocate if @@ -2461,7 +2461,7 @@ where /// An iterator that moves out of a vector. /// -/// This `struct` is created by the `into_iter` method on [`Vec`][`Vec`] (provided +/// This `struct` is created by the `into_iter` method on [`Vec`] (provided /// by the [`IntoIterator`] trait). /// /// [`Vec`]: struct.Vec.html |
