Skip to content

Commit 1256cf3

Browse files
Update Data/HashMap/Internal/Array.hs
Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
1 parent 1c118c4 commit 1256cf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Data/HashMap/Internal/Array.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ new _n@(I# n#) b =
207207
new_ :: Int -> ST s (MArray s a)
208208
new_ n = new n undefinedElem
209209

210-
-- when shrinkSmallMutableArray# is available, the returned array is the same as the array given, as it is shrunk in place
211-
-- otherwise a copy is made
210+
-- | When 'Exts.shrinkSmallMutableArray#' is available, the returned array is the same as the array given, as it is shrunk in place.
211+
-- Otherwise a copy is made.
212212
shrink :: MArray s a -> Int -> ST s (MArray s a)
213213
#if MIN_VERSION_GLASGOW_HASKELL(8, 10, 7, 0)
214214
shrink mary _n@(I# n#) =

0 commit comments

Comments
 (0)