aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-10-31 19:33:53 -0500
committerAustin Seipp <aseipp@pobox.com>2014-10-31 19:34:10 -0500
commit199936af5bb902c81f822b2dc57308dc25e18cfc (patch)
tree0a8d6a4a5adc51ea561b64be92ae7a8b690fc48a /src/Haddock/Backends
parent5a79e5b25a1e628f7d1d9f4bf97ccd9e30242c6a (diff)
Remove overlapping pattern match
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'src/Haddock/Backends')
-rw-r--r--src/Haddock/Backends/Xhtml.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml.hs b/src/Haddock/Backends/Xhtml.hs
index 38382871..85d2652a 100644
--- a/src/Haddock/Backends/Xhtml.hs
+++ b/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
_ -> []