Skip to content

Commit 3aeb317

Browse files
authored
Remove unnecessary CommentExtraction instances (#958)
1 parent 5bf42c3 commit 3aeb317

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/HIndent/Pretty/NodeComments.hs

-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ class CommentExtraction a where
3636
instance CommentExtraction l => CommentExtraction (GenLocated l e) where
3737
nodeComments (L l _) = nodeComments l
3838

39-
instance CommentExtraction (HsDataDefn GhcPs) where
40-
nodeComments HsDataDefn {} = emptyNodeComments
41-
4239
instance CommentExtraction (MatchGroup GhcPs a) where
4340
nodeComments MG {} = emptyNodeComments
4441

0 commit comments

Comments
 (0)