From d700635f2818367abaa329c3363240c3195589d8 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 23 Mar 2024 21:43:26 -0400 Subject: [PATCH] TBQueue: Add @since on capacityTBQueue --- Control/Concurrent/STM/TBQueue.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Control/Concurrent/STM/TBQueue.hs b/Control/Concurrent/STM/TBQueue.hs index 27430ec..ab4cb35 100644 --- a/Control/Concurrent/STM/TBQueue.hs +++ b/Control/Concurrent/STM/TBQueue.hs @@ -244,6 +244,6 @@ isFullTBQueue (TBQueue rsize _read wsize _write _size) = do -- | The maximum number of elements the queue can hold. -- --- @since TODO +-- @since 2.5.2.0 capacityTBQueue :: TBQueue a -> Natural capacityTBQueue (TBQueue _ _ _ _ cap) = fromIntegral cap