Skip to content

Commit 1dd7bb2

Browse files
committed
Fix comment in 'HashSet' 'size'
1 parent 4550cd0 commit 1dd7bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/HashSet/Base.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ null :: HashSet a -> Bool
241241
null = H.null . asMap
242242
{-# INLINE null #-}
243243

244-
-- | /O(n)/ Return the number of elements in this set.
244+
-- | /O(1)/ Return the number of elements in this set.
245245
size :: HashSet a -> Int
246246
size = H.size . asMap
247247
{-# INLINE size #-}

0 commit comments

Comments
 (0)