Skip to content

Commit 9a3181a

Browse files
committed
Fix haddock for threadDelay
`threadDelay` calls `Control.Concurrent.threadDelay`, which takes an argument in microseconds, instead of milliseconds as the documentation specified. This commit fixes that typo.
1 parent 84ae0ba commit 9a3181a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hedgehog/Extras/Test/Concurrent.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import GHC.Stack
9494
import Hedgehog
9595
import qualified Hedgehog as H
9696

97-
-- | Delay the thread by 'n' milliseconds.
97+
-- | Delay the thread by 'n' microseconds.
9898
threadDelay :: (HasCallStack, MonadTest m, MonadIO m) => Int -> m ()
9999
threadDelay n = GHC.withFrozenCallStack . H.evalIO $ IO.threadDelay n
100100

0 commit comments

Comments
 (0)