diff options
| author | kennytm <kennytm@gmail.com> | 2018-04-28 03:32:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-28 03:32:11 +0800 |
| commit | a18e7a6e837eba07dcd64fc0d3ea79ac2bab01cc (patch) | |
| tree | 10dbe7f83bced869e48b074eec3a9236274a9e41 /src/liballoc | |
| parent | 3c43aa5677e17dfb9f5004522745a02e21a604a4 (diff) | |
| parent | 54d6bcbf70112ceb0efa4579ab9f6d5673588889 (diff) | |
| download | rust-a18e7a6e837eba07dcd64fc0d3ea79ac2bab01cc.tar.gz rust-a18e7a6e837eba07dcd64fc0d3ea79ac2bab01cc.zip | |
Rollup merge of #49858 - dmizuk:unique-doc-hidden, r=steveklabnik
std: Mark `ptr::Unique` with `#[doc(hidden)]` `Unique` is now perma-unstable, so let's hide its docs.
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 5ebd2cc6146..1b4f86dcfac 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); |
