Skip to content

Commit

Permalink
Fix comment in 'HashSet' 'size'
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbmb committed Oct 10, 2018
1 parent 4550cd0 commit 1dd7bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/HashSet/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ null :: HashSet a -> Bool
null = H.null . asMap
{-# INLINE null #-}

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

0 comments on commit 1dd7bb2

Please sign in to comment.