about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorAdrian Heine né Lang <mail@adrianheine.de>2019-10-20 23:13:41 +0200
committerGitHub <noreply@github.com>2019-10-20 23:13:41 +0200
commite697ffbbcb41559c8de3ca3b94f3b9467e662a19 (patch)
tree03073b833e3e8eafbfed206421dc375336e5008b /src/libstd/io
parent89e645ace853d86e8c0002247482eac9073c90fd (diff)
downloadrust-e697ffbbcb41559c8de3ca3b94f3b9467e662a19.tar.gz
rust-e697ffbbcb41559c8de3ca3b94f3b9467e662a19.zip
Fix parameter name in documentation
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index c798ee0e220..6574ef13db9 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -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.