Skip to content

Commit 4863fd9

Browse files
committed
We don't need NFData instance for DoNotUnboxNormalForm
1 parent 89d7584 commit 4863fd9

File tree

1 file changed

+0
-3
lines changed
  • vector/src/Data/Vector/Unboxed

1 file changed

+0
-3
lines changed

vector/src/Data/Vector/Unboxed/Base.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,9 +1027,6 @@ instance NFData a => G.Vector Vector (DoNotUnboxNormalForm a) where
10271027

10281028
instance NFData a => Unbox (DoNotUnboxNormalForm a)
10291029

1030-
instance NFData a => NFData (DoNotUnboxNormalForm a) where
1031-
{-# INLINE rnf #-}
1032-
rnf = rnf . coerce @(DoNotUnboxNormalForm a) @a
10331030

10341031
deriveNewtypeInstances((), Any, Bool, Any, V_Any, MV_Any)
10351032
deriveNewtypeInstances((), All, Bool, All, V_All, MV_All)

0 commit comments

Comments
 (0)