diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-25 11:31:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-25 11:31:33 +0100 |
| commit | 7c562ee5a62a95dc7b459b742b6eb1fbecd4fe7f (patch) | |
| tree | 46aad78d664bd5295df0aa991af548ca54f65ff8 /library/alloc/src | |
| parent | 91a8496b64675a0f3389b1827078a3c0389ebd89 (diff) | |
| parent | a402cb0f9b47d4518a75fc0f202c2837d627e793 (diff) | |
| download | rust-7c562ee5a62a95dc7b459b742b6eb1fbecd4fe7f.tar.gz rust-7c562ee5a62a95dc7b459b742b6eb1fbecd4fe7f.zip | |
Rollup merge of #108407 - notriddle:notriddle/vec-get-mut, r=thomcc
docs: use intra-doc links for `Vec::get(_mut)` Now that #63351 is fixed, there's no reason not to. CC #75672
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 |
