about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-04-21 23:19:56 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-04-22 18:41:25 +0200
commit7609c645980eeb1feaea5e8122d29e9a6fc7ce5d (patch)
treea47ecf31e1ddbae85bfddab8d5ecdd785c060be2 /src/libstd/sync
parent6e036082091bc253debeb22606a661af211610ff (diff)
downloadrust-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.rs4
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
     ///