Skip to content

Commit 38916c7

Browse files
Rollup merge of #112863 - clubby789:stderr-typo, r=albertlarsan68
Fix copy-paste typo in `eprint(ln)` docs Fixes #112862
2 parents 009d72b + 7201271 commit 38916c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ macro_rules! println {
154154
///
155155
/// Panics if writing to `io::stderr` fails.
156156
///
157-
/// Writing to non-blocking stdout can cause an error, which will lead
157+
/// Writing to non-blocking stderr can cause an error, which will lead
158158
/// this macro to panic.
159159
///
160160
/// # Examples
@@ -189,7 +189,7 @@ macro_rules! eprint {
189189
///
190190
/// Panics if writing to `io::stderr` fails.
191191
///
192-
/// Writing to non-blocking stdout can cause an error, which will lead
192+
/// Writing to non-blocking stderr can cause an error, which will lead
193193
/// this macro to panic.
194194
///
195195
/// # Examples

0 commit comments

Comments
 (0)