about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2018-03-01 00:07:27 +0100
committerStjepan Glavina <stjepang@gmail.com>2018-03-01 00:07:27 +0100
commitcb56b2d1522e83c5bb0613abcf78b686e994df9e (patch)
treed7ff08c46d6b2f34897cadf194fc51baf55c9e41 /src/libstd/io
parent082dd6d7af37ac76d99147ae7242080d4f5c74aa (diff)
downloadrust-cb56b2d1522e83c5bb0613abcf78b686e994df9e.tar.gz
rust-cb56b2d1522e83c5bb0613abcf78b686e994df9e.zip
Fix a bug introduced in previous commit
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/stdio.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index b8fb83ad465..1f73054e3be 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -663,8 +663,8 @@ pub fn set_print(sink: Option<Box<Write + Send>>) -> Option<Box<Write + Send>> {
 ///
 /// This function is used to print error messages, so it takes extra
 /// care to avoid causing a panic when `local_stream` is unusable.
-/// For instance, if the TLS key for the local stream is uninitialized
-/// or already destroyed, or if the local stream is locked by another
+/// 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.
 ///
 /// However, if the actual I/O causes an error, this function does panic.