aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
diff options
context:
space:
mode:
authorPhil de Joux <philderbeast@gmail.com>2022-07-24 07:45:59 -0400
committerGitHub <noreply@github.com>2022-07-24 13:45:59 +0200
commit2f1711b301fea88eb1d0b40d1c04b2f0539fd882 (patch)
tree4523ca2ffd88b1002036879ab593d4abaff8d417 /haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
parent90c38242e54d1a742426e2b1b3c7d71e226811bd (diff)
Follow hlint suggestion: redundant $. (#1505)
* Follow hlint suggestion: redundant $. * Remove $ and surplus blank lines in Operators.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml/Decl.hs')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Decl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
index 8de1b1b8..2c3da7a9 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
@@ -725,7 +725,7 @@ ppInstanceSigs links splice unicode qual sigs = do
L _ rtyp = dropWildCards typ
-- Instance methods signatures are synified and thus don't have a useful
-- SrcSpan value. Use the methods name location instead.
- return $ ppSimpleSig links splice unicode qual HideEmptyContexts (getLocA $ head $ lnames) names rtyp
+ return $ ppSimpleSig links splice unicode qual HideEmptyContexts (getLocA $ head lnames) names rtyp
lookupAnySubdoc :: Eq id1 => id1 -> [(id1, DocForDecl id2)] -> DocForDecl id2