Skip to content

Commit 5ee41ba

Browse files
ckennellycopybara-github
authored andcommitted
Remove comment mentioning deferenceability.
This is implicit from the reference. PiperOrigin-RevId: 791229648 Change-Id: I80145d0ec422ce1f54c19651d2fbc0d52692c1ae
1 parent 097d0d8 commit 5ee41ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

absl/synchronization/mutex.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,8 @@ class ABSL_SCOPED_LOCKABLE MutexLock {
599599
public:
600600
// Constructors
601601

602-
// Calls `mu->lock()` and returns when that call returns. That is, `*mu` is
603-
// guaranteed to be locked when this object is constructed. Requires that
604-
// `mu` be dereferenceable.
602+
// Calls `mu.lock()` and returns when that call returns. That is, `mu` is
603+
// guaranteed to be locked when this object is constructed.
605604
explicit MutexLock(Mutex& mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) {
606605
this->mu_.lock();
607606
}

0 commit comments

Comments
 (0)