diff options
| author | Zack Weinberg <zackw@panix.com> | 2017-04-13 10:48:09 -0400 |
|---|---|---|
| committer | Zack Weinberg <zackw@panix.com> | 2017-05-10 09:41:42 -0400 |
| commit | 07766f675caaabc1d64ef59db6ddfa43e72e6d4f (patch) | |
| tree | f7d1f4a1d192f2705668b283b4b35cf69063b38c /src/libstd/io/mod.rs | |
| parent | 76127275a09d970169952bcf616f966faa9ed6db (diff) | |
| download | rust-07766f675caaabc1d64ef59db6ddfa43e72e6d4f.tar.gz rust-07766f675caaabc1d64ef59db6ddfa43e72e6d4f.zip | |
Revise the eprint(ln)! feature.
* Factor out the nigh-identical bodies of `_print` and `_eprint` to a helper function `print_to` (I was sorely tempted to call it `_doprnt`). * Update the issue number for the unstable `eprint` feature. * Add entries to the "unstable book" for `eprint` and `eprint_internal`. * Style corrections to the documentation.
Diffstat (limited to 'src/libstd/io/mod.rs')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index b6d3c920fb9..9320bfe9abe 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -290,7 +290,7 @@ pub use self::util::{copy, sink, Sink, empty, Empty, repeat, Repeat}; pub use self::stdio::{stdin, stdout, stderr, _print, Stdin, Stdout, Stderr}; #[stable(feature = "rust1", since = "1.0.0")] pub use self::stdio::{StdoutLock, StderrLock, StdinLock}; -#[unstable(feature = "eprint", issue="39228")] +#[unstable(feature = "eprint", issue="40528")] pub use self::stdio::_eprint; #[unstable(feature = "libstd_io_internals", issue = "0")] #[doc(no_inline, hidden)] |
