Skip to content

Commit ec9b9c4

Browse files
committed
Formatting
1 parent e154405 commit ec9b9c4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Data/HashMap/Internal.hs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,7 @@ deleteFromSubtree !s !h !k = \case
11751175
| otherwise -> t
11761176
t@(BitmapIndexed b ary)
11771177
| b .&. m == 0 -> t
1178-
| otherwise ->
1179-
case A.index# ary i of
1178+
| otherwise -> case A.index# ary i of
11801179
(# !st #) ->
11811180
case deleteFromSubtree (nextShift s) h k st of
11821181
Empty | A.length ary == 2
@@ -1204,10 +1203,10 @@ deleteFromSubtree !s !h !k = \case
12041203
t@(Collision hy v)
12051204
| h == hy
12061205
, Just i <- indexOf k v
1207-
-> if A.length v == 2
1208-
then case A.index# v (otherOfOneOrZero i) of
1209-
(# l #) -> Leaf h l
1210-
else Collision h (A.delete v i)
1206+
-> if A.length v == 2
1207+
then case A.index# v (otherOfOneOrZero i) of
1208+
(# l #) -> Leaf h l
1209+
else Collision h (A.delete v i)
12111210
| otherwise -> t
12121211
{-# INLINABLE deleteFromSubtree #-}
12131212

0 commit comments

Comments
 (0)