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
This commit is contained in:
Matthias Krüger 2023-02-25 11:31:33 +01:00 committed by GitHub
commit 7c562ee5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,8 @@ mod spec_extend;
/// Currently, `Vec` does not guarantee the order in which elements are dropped. /// Currently, `Vec` does not guarantee the order in which elements are dropped.
/// The order has changed in the past and may change again. /// The order has changed in the past and may change again.
/// ///
/// [`get`]: ../../std/vec/struct.Vec.html#method.get /// [`get`]: slice::get
/// [`get_mut`]: ../../std/vec/struct.Vec.html#method.get_mut /// [`get_mut`]: slice::get_mut
/// [`String`]: crate::string::String /// [`String`]: crate::string::String
/// [`&str`]: type@str /// [`&str`]: type@str
/// [`shrink_to_fit`]: Vec::shrink_to_fit /// [`shrink_to_fit`]: Vec::shrink_to_fit