aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Shared.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2020-02-17 11:03:50 -0500
committerGitHub <noreply@github.com>2020-02-17 08:03:50 -0800
commit6a01386cd1e562eb3d75975e63c0df1491ecc01e (patch)
tree0d3eb7d231534253ccf0a3bdd1dfc804555b28a5 /src/Text/Pandoc/Writers/Shared.hs
parent0808c2a03f0dec1cd442e5e3cddfb70419724874 (diff)
downloadpandoc-6a01386cd1e562eb3d75975e63c0df1491ecc01e.tar.gz
Remove redundant `otherwise` guard in inlineToAsciiDoc (#6146)
The `RawInline` case in `inlineToAsciiDoc` currenty looks like this: ```hs inlineToAsciiDoc _ il@(RawInline f s) | f == "asciidoc" = return $ literal s | otherwise = do report $ InlineNotRendered il return empty | otherwise = return empty ``` Notice how there are there are two overlapping `otherwise` guards. The second `otherwise` guard is completely unreachable, so this patch removes it.
Diffstat (limited to 'src/Text/Pandoc/Writers/Shared.hs')
0 files changed, 0 insertions, 0 deletions