Skip to content

Commit

Permalink
docs: use intra-doc links for Vec::get(_mut)
Browse files Browse the repository at this point in the history
Now that rust-lang#63351 is fixed, there's no reason not to.
  • Loading branch information
notriddle committed Feb 23, 2023
1 parent 07c993e commit a402cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/alloc/src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a402cb0

Please sign in to comment.