]> git.lizzy.rs Git - rust.git/commitdiff
"Panics" -> "Known Issues"; rm trailing WS
authorFelix Rabe <felix@rabe.io>
Tue, 7 Aug 2018 15:34:34 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Aug 2018 15:34:34 +0000 (17:34 +0200)
src/libstd/sync/mpsc/mod.rs

index 21a6adf5827df1a7fc99531a99c402d5e688ed92..59cf741487e443710cdd1e32222abe4cf8a7c92b 100644 (file)
@@ -1247,7 +1247,7 @@ pub fn recv(&self) -> Result<T, RecvError> {
     /// [`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 @@ pub fn recv(&self) -> Result<T, RecvError> {
     /// use std::sync::mpsc::channel;
     /// use std::thread;
     /// use std::time::Duration;
-    /// 
+    ///
     /// let (tx, rx) = channel::<String>();
     ///
     /// thread::spawn(move || {