Skip to content

Commit 54d6bcb

Browse files
author
Daiki Mizukami
committed
alloc: Mark Box::into_unique with #[doc(hidden)]
1 parent f817d19 commit 54d6bcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/liballoc/boxed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ impl<T: ?Sized> Box<T> {
184184

185185
#[unstable(feature = "ptr_internals", issue = "0", reason = "use into_raw_non_null instead")]
186186
#[inline]
187+
#[doc(hidden)]
187188
pub fn into_unique(b: Box<T>) -> Unique<T> {
188189
let unique = b.0;
189190
mem::forget(b);

0 commit comments

Comments
 (0)