From f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3 Mon Sep 17 00:00:00 2001 From: Ross MacArthur Date: Sat, 21 Dec 2019 13:16:18 +0200 Subject: Require issue = "none" over issue = "0" in unstable attributes --- src/libstd/alloc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/alloc.rs') diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs index ff52974775b..eccf8cabf22 100644 --- a/src/libstd/alloc.rs +++ b/src/libstd/alloc.rs @@ -205,7 +205,7 @@ fn default_alloc_error_hook(layout: Layout) { #[cfg(not(test))] #[doc(hidden)] #[alloc_error_handler] -#[unstable(feature = "alloc_internals", issue = "0")] +#[unstable(feature = "alloc_internals", issue = "none")] pub fn rust_oom(layout: Layout) -> ! { let hook = HOOK.load(Ordering::SeqCst); let hook: fn(Layout) = if hook.is_null() { @@ -220,7 +220,7 @@ pub fn rust_oom(layout: Layout) -> ! { #[cfg(not(test))] #[doc(hidden)] #[allow(unused_attributes)] -#[unstable(feature = "alloc_internals", issue = "0")] +#[unstable(feature = "alloc_internals", issue = "none")] pub mod __default_lib_allocator { use super::{System, Layout, GlobalAlloc}; // These magic symbol names are used as a fallback for implementing the -- cgit 1.4.1-3-g733a5