about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2023-06-21 01:06:48 +0100
committerclubby789 <jamie@hill-daniel.co.uk>2023-06-21 01:08:10 +0100
commit7201271fe8f8499eed8f20b282aca508ea53f855 (patch)
tree146130c67d4c5dbe77b202af490dceac245121ab /library/std/src
parent46514218f6f31ad3a1510ecc32af47e9e486c27d (diff)
downloadrust-7201271fe8f8499eed8f20b282aca508ea53f855.tar.gz
rust-7201271fe8f8499eed8f20b282aca508ea53f855.zip
Fix typo in `eprintln` docs
Diffstat (limited to 'library/std/src')
-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