about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-10 09:45:16 +0000
committerbors <bors@rust-lang.org>2017-04-10 09:45:16 +0000
commit2bdf368bdec589c689950e88eec973cd5df658fc (patch)
tree0807a29c5eab1d8fccc0f90ec356ebdaaa45ef37 /src/libstd/sys_common
parent22bae87f3bc86fc5fecc78def65733a1116aedbe (diff)
parent28a232a59ac4ded4e6de9e9c06a17a801c5199dd (diff)
downloadrust-2bdf368bdec589c689950e88eec973cd5df658fc.tar.gz
rust-2bdf368bdec589c689950e88eec973cd5df658fc.zip
Auto merge of #41103 - projektir:channel_error_docs, r=GuillaumeGomez
Channel error docs

r? @steveklabnik

I'm going to need some help on this one, a few ambiguities.
Diffstat (limited to 'src/libstd/sys_common')
-rw-r--r--src/libstd/sys_common/poison.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/sys_common/poison.rs b/src/libstd/sys_common/poison.rs
index d9d13240fcc..0127a9eb759 100644
--- a/src/libstd/sys_common/poison.rs
+++ b/src/libstd/sys_common/poison.rs
@@ -73,7 +73,9 @@ pub struct PoisonError<T> {
 }
 
 /// An enumeration of possible errors which can occur while calling the
-/// `try_lock` method.
+/// [`try_lock`] method.
+///
+/// [`try_lock`]: struct.Mutex.html#method.try_lock
 #[stable(feature = "rust1", since = "1.0.0")]
 pub enum TryLockError<T> {
     /// The lock could not be acquired because another thread failed while holding