Skip to content

Commit

Permalink
Rollup merge of #77181 - GuillaumeGomez:add-pointer-alias, r=jyn514,p…
Browse files Browse the repository at this point in the history
…ickfire

Add doc alias for pointer primitive
  • Loading branch information
RalfJung authored Sep 26, 2020
2 parents f614ae4 + 21ee171 commit 0a19836
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 @@ -384,6 +384,7 @@ mod prim_char {}
#[stable(feature = "rust1", since = "1.0.0")]
mod prim_unit {}

#[doc(alias = "ptr")]
#[doc(primitive = "pointer")]
//
/// Raw, unsafe pointers, `*const T`, and `*mut T`.
Expand Down

0 comments on commit 0a19836

Please sign in to comment.