]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sync/mutex.rs
Rollup merge of #58306 - GuillaumeGomez:crate-browser-history, r=QuietMisdreavus
[rust.git] / src / libstd / sync / mutex.rs
index 59829db23cbc27ebd912c102e7d473f3dabcb526..340dca7ce73b868523b8dec1e1a55c3a94e4c2af 100644 (file)
@@ -335,7 +335,7 @@ pub fn into_inner(self) -> LockResult<T> where T: Sized {
     /// Returns a mutable reference to the underlying data.
     ///
     /// Since this call borrows the `Mutex` mutably, no actual locking needs to
-    /// take place---the mutable borrow statically guarantees no locks exist.
+    /// take place -- the mutable borrow statically guarantees no locks exist.
     ///
     /// # Errors
     ///