Miscellaneous cleanup for linting

This commit is contained in:
Sargun Dhillon
2019-09-03 10:23:19 -07:00
parent 9cce8640a5
commit 5949e6279d
3 changed files with 9 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ func (w *waitableInt) until(ctx context.Context, f func(int) bool) error {
func (w *waitableInt) increment() {
w.cond.L.Lock()
defer w.cond.L.Unlock()
w.val += 1
w.val++
w.cond.Broadcast()
}