We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ptr::Unique
#[doc(hidden)]
1 parent 0b72d48 commit f817d19Copy full SHA for f817d19
src/libcore/ptr.rs
@@ -2511,6 +2511,7 @@ impl<T: ?Sized> PartialOrd for *mut T {
2511
reason = "use NonNull instead and consider PhantomData<T> \
2512
(if you also use #[may_dangle]), Send, and/or Sync")]
2513
#[allow(deprecated)]
2514
+#[doc(hidden)]
2515
pub struct Unique<T: ?Sized> {
2516
pointer: NonZero<*const T>,
2517
// NOTE: this marker has no consequences for variance, but is necessary
0 commit comments