about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorFelix Rabe <felix@rabe.io>2018-08-07 17:34:34 +0200
committerGitHub <noreply@github.com>2018-08-07 17:34:34 +0200
commit025f41f4c0db5ed65ae6a15ec8bb4e5872bc16ff (patch)
treeac6fd77e58ea9f19cb5fce14dc7c1e7aa0bad2cd /src/libstd
parent6e2051cd084aee3aa5cef0d8ec65fc564f86ed1c (diff)
downloadrust-025f41f4c0db5ed65ae6a15ec8bb4e5872bc16ff.tar.gz
rust-025f41f4c0db5ed65ae6a15ec8bb4e5872bc16ff.zip
"Panics" -> "Known Issues"; rm trailing WS
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 || {