about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorprojektir <oprojektir@gmail.com>2017-04-03 23:32:59 -0400
committerprojektir <oprojektir@gmail.com>2017-04-08 15:33:21 -0400
commit28a232a59ac4ded4e6de9e9c06a17a801c5199dd (patch)
tree747bc9158e209b901a2149ff1a786a74a5a97cd5 /src/libstd/sys_common
parenta61011761deeab9e308e6d103b1dc7aaf334f6e3 (diff)
downloadrust-28a232a59ac4ded4e6de9e9c06a17a801c5199dd.tar.gz
rust-28a232a59ac4ded4e6de9e9c06a17a801c5199dd.zip
Adding links around Sender/SyncSender/Receiver errors; Adding more documentation to channel() and sync_channel(); adding more links #29377
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