Skip to content

Commit

Permalink
Remove unnecessary CommentExtraction instances (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
toku-sa-n authored Sep 15, 2024
1 parent 5bf42c3 commit 3aeb317
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/HIndent/Pretty/NodeComments.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class CommentExtraction a where
instance CommentExtraction l => CommentExtraction (GenLocated l e) where
nodeComments (L l _) = nodeComments l

instance CommentExtraction (HsDataDefn GhcPs) where
nodeComments HsDataDefn {} = emptyNodeComments

instance CommentExtraction (MatchGroup GhcPs a) where
nodeComments MG {} = emptyNodeComments

Expand Down

0 comments on commit 3aeb317

Please sign in to comment.