Skip to content

Commit

Permalink
s/less/fewer
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyl20 committed Dec 5, 2023
1 parent ac55a9c commit 3fd02fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Text/Internal/Measure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ measure_off ba off len cnt = go 0 0
go !cc !i
-- return the number of bytes for the first cnt codepoints,
| cc == cnt = fromIntegral i
-- return negated number of codepoints if there are less than cnt
-- return negated number of codepoints if there are fewer than cnt
| i >= len = negate (fromIntegral cc)
| otherwise =
let !(I# o) = fromIntegral (off+i)
Expand Down

0 comments on commit 3fd02fb

Please sign in to comment.