diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-31 09:04:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-31 09:04:37 +0530 |
| commit | 8410788a67358880531a016f491598ff3bb8d3e4 (patch) | |
| tree | 9907cfb5abbd5f695ab186065d8a7eda2aa0d67b /src/libstd | |
| parent | 470996a7499c2182eedecbed6d8d40026be3d566 (diff) | |
| parent | 6e8693b297a841e8ada1828820136c850b793158 (diff) | |
| download | rust-8410788a67358880531a016f491598ff3bb8d3e4.tar.gz rust-8410788a67358880531a016f491598ff3bb8d3e4.zip | |
Rollup merge of #23826 - richo:note-print-macro, r=alexcrichton
cc #23818
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 52492a019a2..645bc5db753 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -64,6 +64,10 @@ macro_rules! panic { /// /// Equivalent to the `println!` macro except that a newline is not printed at /// the end of the message. +/// +/// Note that stdout is frequently line-buffered by default so it may be +/// necessary to use `io::stdout().flush()` to ensure the output is emitted +/// immediately. #[macro_export] #[stable(feature = "rust1", since = "1.0.0")] #[allow_internal_unstable] |
