Skip to content

Commit dbcf659

Browse files
authored
Rollup merge of #80068 - jyn514:mut-reference, r=m-ou-se
Add `&mut` as an alias for 'reference' primitive Closes #46075.
2 parents c111404 + 8fb553c commit dbcf659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/primitive_docs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,7 @@ mod prim_usize {}
924924

925925
#[doc(primitive = "reference")]
926926
#[doc(alias = "&")]
927+
#[doc(alias = "&mut")]
927928
//
928929
/// References, both shared and mutable.
929930
///

0 commit comments

Comments
 (0)