diff options
| author | Daiki Mizukami <mizukami1113@gmail.com> | 2018-04-11 18:24:47 +0900 |
|---|---|---|
| committer | Daiki Mizukami <mizukami1113@gmail.com> | 2018-04-11 18:24:47 +0900 |
| commit | 54d6bcbf70112ceb0efa4579ab9f6d5673588889 (patch) | |
| tree | dd827eb29226cd3b62dd15d8bc3ea0072376759d /src/liballoc | |
| parent | f817d1960a4d495a20689bc7ed22847561afd216 (diff) | |
| download | rust-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.rs | 1 |
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); |
