From 3aeb3171971e2dbd123b93433d9530b959d8bf80 Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Sun, 15 Sep 2024 19:06:01 +0900 Subject: [PATCH] Remove unnecessary `CommentExtraction` instances (#958) --- src/HIndent/Pretty/NodeComments.hs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/HIndent/Pretty/NodeComments.hs b/src/HIndent/Pretty/NodeComments.hs index ff8dd1955..0060ca900 100644 --- a/src/HIndent/Pretty/NodeComments.hs +++ b/src/HIndent/Pretty/NodeComments.hs @@ -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