Skip to content

Commit a402cb0

Browse files
committed
docs: use intra-doc links for Vec::get(_mut)
Now that #63351 is fixed, there's no reason not to.
1 parent 07c993e commit a402cb0

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)