Skip to content

Commit

Permalink
Rollup merge of rust-lang#65639 - adrianheine:patch-2, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix parameter name in documentation
  • Loading branch information
Centril authored Oct 20, 2019
2 parents 5a29bd9 + e697ffb commit 836e45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ pub fn set_print(sink: Option<Box<dyn Write + Send>>) -> Option<Box<dyn Write +
/// otherwise. `label` identifies the stream in a panic message.
///
/// This function is used to print error messages, so it takes extra
/// care to avoid causing a panic when `local_stream` is unusable.
/// care to avoid causing a panic when `local_s` is unusable.
/// For instance, if the TLS key for the local stream is
/// already destroyed, or if the local stream is locked by another
/// thread, it will just fall back to the global stream.
Expand Down

0 comments on commit 836e45d

Please sign in to comment.