Skip to content

Commit

Permalink
Add doc alias for pointer primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Sep 26, 2020
1 parent 4eff9b0 commit 21ee171
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 21ee171

Please sign in to comment.