docs: use intra-doc links for Vec::get(_mut)

Now that #63351 is fixed, there's no reason not to.
This commit is contained in:
Michael Howell 2023-02-23 12:26:14 -07:00
parent 07c993eba8
commit a402cb0f9b

View File

@ -378,8 +378,8 @@
/// 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