]> git.lizzy.rs Git - rust.git/commitdiff
Document #39364 (WIP)
authorFelix Rabe <felix@rabe.io>
Wed, 1 Aug 2018 07:42:46 +0000 (09:42 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Aug 2018 07:42:46 +0000 (09:42 +0200)
src/libstd/sync/mpsc/mod.rs

index 02a96b01cca28e82ba75d962d6922baa44b3dfca..fc0e37f150ec95cf4366de99ed3c1c6eab5da065 100644 (file)
@@ -1247,6 +1247,12 @@ pub fn recv(&self) -> Result<T, RecvError> {
     /// [`SyncSender`]: struct.SyncSender.html
     /// [`Err`]: ../../../std/result/enum.Result.html#variant.Err
     ///
+    /// # Panics
+    ///
+    /// Panics due to a known issue ([`#39364`][]).
+    ///
+    /// [`#39364`]: https://github.com/rust-lang/rust/issues/39364
+    ///
     /// # Examples
     ///
     /// Successfully receiving value before encountering timeout: