Skip to content

Commit 8410788

Browse files
committed
Rollup merge of rust-lang#23826 - richo:note-print-macro, r=alexcrichton
cc rust-lang#23818
2 parents 470996a + 6e8693b commit 8410788

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libstd/macros.rs

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ macro_rules! panic {
6464
///
6565
/// Equivalent to the `println!` macro except that a newline is not printed at
6666
/// the end of the message.
67+
///
68+
/// Note that stdout is frequently line-buffered by default so it may be
69+
/// necessary to use `io::stdout().flush()` to ensure the output is emitted
70+
/// immediately.
6771
#[macro_export]
6872
#[stable(feature = "rust1", since = "1.0.0")]
6973
#[allow_internal_unstable]

0 commit comments

Comments
 (0)