Skip to content

Commit

Permalink
Clarify an aspect of the sparseIndex haddocks (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjakobi authored May 2, 2022
1 parent 0bbbac1 commit 163a3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/HashMap/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ mask :: Hash -> Shift -> Bitmap
mask w s = 1 `unsafeShiftL` index w s
{-# INLINE mask #-}

-- | This array index is computed by counting the number of bits below the
-- | This array index is computed by counting the number of 1-bits below the
-- 'index' represented by the mask.
--
-- >>> sparseIndex 0b0110_0110 0b0010_0000
Expand Down

0 comments on commit 163a3ec

Please sign in to comment.