Skip to content

Commit 0a19836

Browse files
authored
Rollup merge of #77181 - GuillaumeGomez:add-pointer-alias, r=jyn514,pickfire
Add doc alias for pointer primitive
2 parents f614ae4 + 21ee171 commit 0a19836

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)