summaryrefslogtreecommitdiffstats
path: root/library/std/src/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/macros.rs')
-rw-r--r--library/std/src/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/macros.rs b/library/std/src/macros.rs
index fcc5cfafd..ba1b8cbfa 100644
--- a/library/std/src/macros.rs
+++ b/library/std/src/macros.rs
@@ -154,7 +154,7 @@ macro_rules! println {
///
/// Panics if writing to `io::stderr` fails.
///
-/// Writing to non-blocking stdout can cause an error, which will lead
+/// Writing to non-blocking stderr can cause an error, which will lead
/// this macro to panic.
///
/// # Examples
@@ -189,7 +189,7 @@ macro_rules! eprint {
///
/// Panics if writing to `io::stderr` fails.
///
-/// Writing to non-blocking stdout can cause an error, which will lead
+/// Writing to non-blocking stderr can cause an error, which will lead
/// this macro to panic.
///
/// # Examples