Skip to content

Commit

Permalink
Rollup merge of #80068 - jyn514:mut-reference, r=m-ou-se
Browse files Browse the repository at this point in the history
Add `&mut` as an alias for 'reference' primitive

Closes #46075.
  • Loading branch information
JohnTitor authored Dec 19, 2020
2 parents c111404 + 8fb553c commit dbcf659
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ mod prim_usize {}

#[doc(primitive = "reference")]
#[doc(alias = "&")]
#[doc(alias = "&mut")]
//
/// References, both shared and mutable.
///
Expand Down

0 comments on commit dbcf659

Please sign in to comment.