Skip to content

Commit 21ee171

Browse files
Add doc alias for pointer primitive
1 parent 4eff9b0 commit 21ee171

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
@@ -384,6 +384,7 @@ mod prim_char {}
384384
#[stable(feature = "rust1", since = "1.0.0")]
385385
mod prim_unit {}
386386

387+
#[doc(alias = "ptr")]
387388
#[doc(primitive = "pointer")]
388389
//
389390
/// Raw, unsafe pointers, `*const T`, and `*mut T`.

0 commit comments

Comments
 (0)