diff options
| author | Michael Howell <michael@notriddle.com> | 2023-02-23 12:26:14 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-02-23 12:26:14 -0700 |
| commit | a402cb0f9b47d4518a75fc0f202c2837d627e793 (patch) | |
| tree | 5383b52a0ec4723c66f9d0ccb741b85a8758421a /library/alloc/src | |
| parent | 07c993eba8b76eae497e98433ae075b00f01be10 (diff) | |
| download | rust-a402cb0f9b47d4518a75fc0f202c2837d627e793.tar.gz rust-a402cb0f9b47d4518a75fc0f202c2837d627e793.zip | |
docs: use intra-doc links for `Vec::get(_mut)`
Now that #63351 is fixed, there's no reason not to.
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/vec/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index a07f3da78d3..b279f21b524 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -378,8 +378,8 @@ mod spec_extend; /// Currently, `Vec` does not guarantee the order in which elements are dropped. /// The order has changed in the past and may change again. /// -/// [`get`]: ../../std/vec/struct.Vec.html#method.get -/// [`get_mut`]: ../../std/vec/struct.Vec.html#method.get_mut +/// [`get`]: slice::get +/// [`get_mut`]: slice::get_mut /// [`String`]: crate::string::String /// [`&str`]: type@str /// [`shrink_to_fit`]: Vec::shrink_to_fit |
