aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-10-31 19:33:53 -0500
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-12-12 06:46:51 +0000
commitccebf5d18e3f5ba187581e8c4cc3f79f33efb03b (patch)
treedcef3a4b2965f57313c511f7374fc85768765c46
parent1e99fd024be45203452d82a036f5a5b113cb7a06 (diff)
Remove overlapping pattern match
Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml.hs b/haddock-api/src/Haddock/Backends/Xhtml.hs
index f0651049..455bfcd2 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml.hs
@@ -587,7 +587,6 @@ processForMiniSynopsis mdl unicode qual ExportDecl { expItemDecl = L _loc decl0
(DataDecl{}) -> [keyword "data" <+> b]
(SynDecl{}) -> [keyword "type" <+> b]
(ClassDecl {}) -> [keyword "class" <+> b]
- _ -> []
SigD (TypeSig lnames (L _ _)) ->
map (ppNameMini Prefix mdl . nameOccName . getName . unLoc) lnames
_ -> []