aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml/Decl.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/Xhtml/Decl.hs')
-rw-r--r--src/Haddock/Backends/Xhtml/Decl.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Backends/Xhtml/Decl.hs b/src/Haddock/Backends/Xhtml/Decl.hs
index 44429167..686e9a3e 100644
--- a/src/Haddock/Backends/Xhtml/Decl.hs
+++ b/src/Haddock/Backends/Xhtml/Decl.hs
@@ -641,8 +641,8 @@ ppBang _ = toHtml "!" -- Unpacked args is an implementation detail,
tupleParens :: HsTupleSort -> [Html] -> Html
-tupleParens (HsBoxyTuple _) = parenList
-tupleParens HsUnboxedTuple = ubxParenList
+tupleParens HsUnboxedTuple = ubxParenList
+tupleParens _ = parenList
--------------------------------------------------------------------------------