File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ impl<T: ?Sized> Box<T> {
184
184
185
185
#[ unstable( feature = "ptr_internals" , issue = "0" , reason = "use into_raw_non_null instead" ) ]
186
186
#[ inline]
187
+ #[ doc( hidden) ]
187
188
pub fn into_unique ( b : Box < T > ) -> Unique < T > {
188
189
let unique = b. 0 ;
189
190
mem:: forget ( b) ;
Original file line number Diff line number Diff line change @@ -2513,6 +2513,7 @@ impl<T: ?Sized> PartialOrd for *mut T {
2513
2513
reason = "use NonNull instead and consider PhantomData<T> \
2514
2514
(if you also use #[may_dangle]), Send, and/or Sync") ]
2515
2515
#[ allow( deprecated) ]
2516
+ #[ doc( hidden) ]
2516
2517
pub struct Unique < T : ?Sized > {
2517
2518
pointer : NonZero < * const T > ,
2518
2519
// NOTE: this marker has no consequences for variance, but is necessary
You can’t perform that action at this time.
0 commit comments