about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sync/mpsc/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs
index 21a6adf5827..59cf741487e 100644
--- a/src/libstd/sync/mpsc/mod.rs
+++ b/src/libstd/sync/mpsc/mod.rs
@@ -1247,7 +1247,7 @@ impl<T> Receiver<T> {
     /// [`SyncSender`]: struct.SyncSender.html
     /// [`Err`]: ../../../std/result/enum.Result.html#variant.Err
     ///
-    /// # Panics
+    /// # Known Issues
     ///
     /// There is currently a known issue (see [`#39364`]) that causes `recv_timeout`
     /// to panic unexpectedly with the following example:
@@ -1256,7 +1256,7 @@ impl<T> Receiver<T> {
     /// use std::sync::mpsc::channel;
     /// use std::thread;
     /// use std::time::Duration;
-    /// 
+    ///
     /// let (tx, rx) = channel::<String>();
     ///
     /// thread::spawn(move || {