about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-06-21 15:45:17 +0200
committerGitHub <noreply@github.com>2023-06-21 15:45:17 +0200
commit38916c71cb2528ff2a624f8485dda49a30a6e3d0 (patch)
tree1e3f5348e07fa6bd1b6dd082fefce998bae4f65c
parent009d72b3ae5b1520017e555071a17b87cb72bb56 (diff)
parent7201271fe8f8499eed8f20b282aca508ea53f855 (diff)
downloadrust-38916c71cb2528ff2a624f8485dda49a30a6e3d0.tar.gz
rust-38916c71cb2528ff2a624f8485dda49a30a6e3d0.zip
Rollup merge of #112863 - clubby789:stderr-typo, r=albertlarsan68
Fix copy-paste typo in `eprint(ln)` docs

Fixes #112862
-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 fcc5cfafd80..ba1b8cbfa56 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