Skip to content

Commit

Permalink
Update src/Data/Primitive/Contiguous/Shim.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Barton <[email protected]>
  • Loading branch information
andrewthad and DaveBarton authored May 7, 2024
1 parent a8b1607 commit 3e43cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Primitive/Contiguous/Shim.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resizeArray !src !sz = do
LT -> cloneMutableArray src 0 sz
GT -> do
dst <- newArray sz errorThunk
copyMutableArray dst 0 src 0 sz
copyMutableArray dst 0 src 0 srcSz
pure dst
{-# INLINE resizeArray #-}

Expand Down

0 comments on commit 3e43cce

Please sign in to comment.