Skip to content

Commit e697ffb

Browse files
authored
Fix parameter name in documentation
1 parent 89e645a commit e697ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/stdio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ pub fn set_print(sink: Option<Box<dyn Write + Send>>) -> Option<Box<dyn Write +
762762
/// otherwise. `label` identifies the stream in a panic message.
763763
///
764764
/// This function is used to print error messages, so it takes extra
765-
/// care to avoid causing a panic when `local_stream` is unusable.
765+
/// care to avoid causing a panic when `local_s` is unusable.
766766
/// For instance, if the TLS key for the local stream is
767767
/// already destroyed, or if the local stream is locked by another
768768
/// thread, it will just fall back to the global stream.

0 commit comments

Comments
 (0)