Skip to content

Commit

Permalink
Remove use of coerce
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Apr 3, 2024
1 parent eafa8d9 commit 30b8721
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions System/IO/BlockIO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module System.IO.BlockIO (
) where

import Data.Bits
import Data.Coerce
import Data.Primitive.ByteArray
import qualified Data.Vector as V
import qualified Data.Vector.Mutable as VM
Expand Down Expand Up @@ -217,7 +216,7 @@ submitIO IOCtx {
cnt ioopid
URing.submitIO uring
-- print ("submitIO", "submitting done")
coerce <$> takeMVar iobatchCompletion
takeMVar iobatchCompletion
where
closed = mkIOError ResourceVanished "IOCtx closed" Nothing Nothing
guardPinned mba = do
Expand Down

0 comments on commit 30b8721

Please sign in to comment.