File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -986,10 +986,10 @@ pub fn set_output_capture(sink: Option<LocalStream>) -> Option<LocalStream> {
986986/// otherwise. `label` identifies the stream in a panic message.
987987///
988988/// This function is used to print error messages, so it takes extra
989- /// care to avoid causing a panic when `local_s ` is unusable.
990- /// For instance, if the TLS key for the local stream is
991- /// already destroyed, or if the local stream is locked by another
992- /// thread, it will just fall back to the global stream.
989+ /// care to avoid causing a panic when `OUTPUT_CAPTURE ` is unusable.
990+ /// For instance, if the TLS key for output capturing is already destroyed, or
991+ /// if the local stream is in use by another thread, it will just fall back to
992+ /// the global stream.
993993///
994994/// However, if the actual I/O causes an error, this function does panic.
995995fn print_to < T > ( args : fmt:: Arguments < ' _ > , global_s : fn ( ) -> T , label : & str )
You can’t perform that action at this time.
0 commit comments