Adding links around Sender/SyncSender/Receiver errors; Adding more documentation to channel() and sync_channel(); adding more links #29377

This commit is contained in:
projektir
2017-04-03 23:32:59 -04:00
parent a61011761d
commit 28a232a59a
2 changed files with 87 additions and 51 deletions

View File

@@ -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