Format precondition to match style guide.

This commit is contained in:
Zyad A. Ali
2021-05-20 21:15:56 +02:00
parent b8b43f70c8
commit 06d6dc3602
+3 -1
View File
@@ -702,7 +702,9 @@ func (s *Set) checkPerms(creds *auth.Credentials, reqPerms fs.PermMask) bool {
return s.checkCapability(creds)
}
// destroy destroys the set. Caller must hold 's.mu'.
// destroy destroys the set.
//
// Preconditions: Caller must hold 's.mu'.
func (s *Set) destroy() {
// Notify all waiters. They will fail on the next attempt to execute
// operations and return error.