about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorDaiki Mizukami <mizukami1113@gmail.com>2018-04-11 18:24:47 +0900
committerDaiki Mizukami <mizukami1113@gmail.com>2018-04-11 18:24:47 +0900
commit54d6bcbf70112ceb0efa4579ab9f6d5673588889 (patch)
treedd827eb29226cd3b62dd15d8bc3ea0072376759d /src/liballoc
parentf817d1960a4d495a20689bc7ed22847561afd216 (diff)
downloadrust-54d6bcbf70112ceb0efa4579ab9f6d5673588889.tar.gz
rust-54d6bcbf70112ceb0efa4579ab9f6d5673588889.zip
alloc: Mark `Box::into_unique` with `#[doc(hidden)]`
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 71b53cc88e5..bf7921ea1a2 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -184,6 +184,7 @@ impl<T: ?Sized> Box<T> {
 
     #[unstable(feature = "ptr_internals", issue = "0", reason = "use into_raw_non_null instead")]
     #[inline]
+    #[doc(hidden)]
     pub fn into_unique(b: Box<T>) -> Unique<T> {
         let unique = b.0;
         mem::forget(b);