Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Apr 24, 2023
1 parent 289b7c0 commit c760a55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/shared/src/main/scala/cats/effect/std/Mutex.scala
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ object Mutex {
}
}
}
})
.flatMap { acquired =>
}).flatMap { acquired =>
if (acquired) F.unit // home free
else acquire // wokened, but need to acquire
}
Expand Down

0 comments on commit c760a55

Please sign in to comment.