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/io/mod.rs | 2 +- src/libstd/io/stdio.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libstd/io') diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index a1a33bade0d..587ac243267 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -280,7 +280,7 @@ pub use self::error::{Error, ErrorKind, Result}; pub use self::stdio::{stderr, stdin, stdout, Stderr, Stdin, Stdout}; #[stable(feature = "rust1", since = "1.0.0")] pub use self::stdio::{StderrLock, StdinLock, StdoutLock}; -#[unstable(feature = "print_internals", issue = "0")] +#[unstable(feature = "print_internals", issue = "none")] pub use self::stdio::{_eprint, _print}; #[unstable(feature = "libstd_io_internals", issue = "42788")] #[doc(no_inline, hidden)] diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs index 6574ef13db9..4aa35884fb4 100644 --- a/src/libstd/io/stdio.rs +++ b/src/libstd/io/stdio.rs @@ -723,7 +723,7 @@ impl fmt::Debug for StderrLock<'_> { #[unstable(feature = "set_stdio", reason = "this function may disappear completely or be replaced \ with a more general mechanism", - issue = "0")] + issue = "none")] #[doc(hidden)] pub fn set_panic(sink: Option>) -> Option> { use crate::mem; @@ -746,7 +746,7 @@ pub fn set_panic(sink: Option>) -> Option>) -> Option> { use crate::mem; @@ -795,7 +795,7 @@ where #[unstable(feature = "print_internals", reason = "implementation detail which may disappear or be replaced at any time", - issue = "0")] + issue = "none")] #[doc(hidden)] #[cfg(not(test))] pub fn _print(args: fmt::Arguments<'_>) { @@ -804,7 +804,7 @@ pub fn _print(args: fmt::Arguments<'_>) { #[unstable(feature = "print_internals", reason = "implementation detail which may disappear or be replaced at any time", - issue = "0")] + issue = "none")] #[doc(hidden)] #[cfg(not(test))] pub fn _eprint(args: fmt::Arguments<'_>) { -- cgit 1.4.1-3-g733a5