Skip to content

Commit f817d19

Browse files
author
Daiki Mizukami
committed
std: Mark ptr::Unique with #[doc(hidden)]
1 parent 0b72d48 commit f817d19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/ptr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2511,6 +2511,7 @@ impl<T: ?Sized> PartialOrd for *mut T {
25112511
reason = "use NonNull instead and consider PhantomData<T> \
25122512
(if you also use #[may_dangle]), Send, and/or Sync")]
25132513
#[allow(deprecated)]
2514+
#[doc(hidden)]
25142515
pub struct Unique<T: ?Sized> {
25152516
pointer: NonZero<*const T>,
25162517
// NOTE: this marker has no consequences for variance, but is necessary

0 commit comments

Comments
 (0)