X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibstd%2Fsync%2Fmutex.rs;h=340dca7ce73b868523b8dec1e1a55c3a94e4c2af;hb=9a3e22e32f634014b02f13495aef3f0e8cdbb1b7;hp=59829db23cbc27ebd912c102e7d473f3dabcb526;hpb=1e8fde07b6d27f089f079544aaedaba37d82ae81;p=rust.git diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 59829db23cb..340dca7ce73 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -335,7 +335,7 @@ pub fn into_inner(self) -> LockResult 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 ///