diff options
| author | Zack Weinberg <zackw@panix.com> | 2017-04-20 17:37:12 -0400 |
|---|---|---|
| committer | Zack Weinberg <zackw@panix.com> | 2017-05-10 09:52:16 -0400 |
| commit | 4ab3bcb9ca137ad6e6ee4ae4a70a234d92b6d4ab (patch) | |
| tree | 486f01a1d12b1a0efdb98fa7f1ccd72a5336fb47 /src/libstd | |
| parent | 07766f675caaabc1d64ef59db6ddfa43e72e6d4f (diff) | |
| download | rust-4ab3bcb9ca137ad6e6ee4ae4a70a234d92b6d4ab.tar.gz rust-4ab3bcb9ca137ad6e6ee4ae4a70a234d92b6d4ab.zip | |
Fix up stability annotations per feedback.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 6 | ||||
| -rw-r--r-- | src/libstd/io/stdio.rs | 4 | ||||
| -rw-r--r-- | src/libstd/macros.rs | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 9320bfe9abe..c872a8e5261 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -287,11 +287,11 @@ pub use self::error::{Result, Error, ErrorKind}; #[stable(feature = "rust1", since = "1.0.0")] pub use self::util::{copy, sink, Sink, empty, Empty, repeat, Repeat}; #[stable(feature = "rust1", since = "1.0.0")] -pub use self::stdio::{stdin, stdout, stderr, _print, Stdin, Stdout, Stderr}; +pub use self::stdio::{stdin, stdout, stderr, Stdin, Stdout, Stderr}; #[stable(feature = "rust1", since = "1.0.0")] pub use self::stdio::{StdoutLock, StderrLock, StdinLock}; -#[unstable(feature = "eprint", issue="40528")] -pub use self::stdio::_eprint; +#[unstable(feature = "print_internals", issue = "0")] +pub use self::stdio::{_print, _eprint}; #[unstable(feature = "libstd_io_internals", issue = "0")] #[doc(no_inline, hidden)] pub use self::stdio::{set_panic, set_print}; diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs index 363c99c666e..a8b0bf0071a 100644 --- a/src/libstd/io/stdio.rs +++ b/src/libstd/io/stdio.rs @@ -692,7 +692,7 @@ fn print_to<T>(args: fmt::Arguments, } } -#[unstable(feature = "print", +#[unstable(feature = "print_internals", reason = "implementation detail which may disappear or be replaced at any time", issue = "0")] #[doc(hidden)] @@ -700,7 +700,7 @@ pub fn _print(args: fmt::Arguments) { print_to(args, &LOCAL_STDOUT, stdout, "stdout"); } -#[unstable(feature = "eprint_internal", +#[unstable(feature = "print_internals", reason = "implementation detail which may disappear or be replaced at any time", issue = "0")] #[doc(hidden)] diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 98c635d127f..ef78ea6dfe8 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -143,7 +143,7 @@ macro_rules! println { /// /// Panics if writing to `io::stderr` fails. #[macro_export] -#[unstable(feature = "eprint", issue="40528")] +#[stable(feature = "eprint", since="1.18.0")] #[allow_internal_unstable] macro_rules! eprint { ($($arg:tt)*) => ($crate::io::_eprint(format_args!($($arg)*))); @@ -162,7 +162,7 @@ macro_rules! eprint { /// /// Panics if writing to `io::stderr` fails. #[macro_export] -#[unstable(feature = "eprint", issue="40528")] +#[stable(feature = "eprint", since="1.18.0")] macro_rules! eprintln { () => (eprint!("\n")); ($fmt:expr) => (eprint!(concat!($fmt, "\n"))); |
