Skip to content

Commit 7c562ee

Browse files
authored
Rollup merge of rust-lang#108407 - notriddle:notriddle/vec-get-mut, r=thomcc
docs: use intra-doc links for `Vec::get(_mut)` Now that rust-lang#63351 is fixed, there's no reason not to. CC rust-lang#75672
2 parents 91a8496 + a402cb0 commit 7c562ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/vec/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ mod spec_extend;
378378
/// Currently, `Vec` does not guarantee the order in which elements are dropped.
379379
/// The order has changed in the past and may change again.
380380
///
381-
/// [`get`]: ../../std/vec/struct.Vec.html#method.get
382-
/// [`get_mut`]: ../../std/vec/struct.Vec.html#method.get_mut
381+
/// [`get`]: slice::get
382+
/// [`get_mut`]: slice::get_mut
383383
/// [`String`]: crate::string::String
384384
/// [`&str`]: type@str
385385
/// [`shrink_to_fit`]: Vec::shrink_to_fit

0 commit comments

Comments
 (0)