Skip to content

Commit 163a3ec

Browse files
authored
Clarify an aspect of the sparseIndex haddocks (#448)
1 parent 0bbbac1 commit 163a3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/HashMap/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,7 @@ mask :: Hash -> Shift -> Bitmap
24132413
mask w s = 1 `unsafeShiftL` index w s
24142414
{-# INLINE mask #-}
24152415

2416-
-- | This array index is computed by counting the number of bits below the
2416+
-- | This array index is computed by counting the number of 1-bits below the
24172417
-- 'index' represented by the mask.
24182418
--
24192419
-- >>> sparseIndex 0b0110_0110 0b0010_0000

0 commit comments

Comments
 (0)