diff --git a/src/Control/Monad/Catch.hs b/src/Control/Monad/Catch.hs index cc83a14ef4cb238b5b7602a952ceac9126ad8508..1099e00976726a7d178956ae50159e858cd7c13a 100644 --- a/src/Control/Monad/Catch.hs +++ b/src/Control/Monad/Catch.hs @@ -194,7 +194,7 @@ class MonadCatch m => MonadMask m where -> (a -> b -> m c) -- ^ cleanup, no exception thrown -> (a -> SomeException -> m ignored) - -- ^ cleanup, some exception thrown. The exception will be rethrown + -- ^ cleanup, some exception thrown; the exception will be rethrown -> (a -> m b) -- ^ inner action to perform with the resource -> m c