diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-04-21 23:19:56 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-04-22 18:41:25 +0200 |
| commit | 7609c645980eeb1feaea5e8122d29e9a6fc7ce5d (patch) | |
| tree | a47ecf31e1ddbae85bfddab8d5ecdd785c060be2 /src/libstd/sync | |
| parent | 6e036082091bc253debeb22606a661af211610ff (diff) | |
| download | rust-7609c645980eeb1feaea5e8122d29e9a6fc7ce5d.tar.gz rust-7609c645980eeb1feaea5e8122d29e9a6fc7ce5d.zip | |
doc: that line was too long
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/mutex.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 21ce98f8748..90cc79dad66 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -206,8 +206,8 @@ impl<T: ?Sized> Mutex<T> { /// the guard goes out of scope, the mutex will be unlocked. /// /// The exact behavior on locking a mutex in the thread which already holds - /// the lock is left unspecified, however, this function will not return on - /// the second call, it might e.g. panic or deadlock. + /// the lock is left unspecified. However, this function will not return on + /// the second call (it might panic or deadlock, for example). /// /// # Errors /// |
