diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-20 09:17:52 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-20 09:17:52 -0500 |
commit | 705145956d8fbb77aa0a63b87d00a10660ca3279 (patch) | |
tree | f66177b76f33f9718775aac77bd1b61f2c594f39 /src/Text/Pandoc/Readers | |
parent | b9b66d3b291cda768304fa28cba578f6e4dd8b37 (diff) | |
download | pandoc-705145956d8fbb77aa0a63b87d00a10660ca3279.tar.gz |
Muse reader: fix compiler warning
lambda variable `st` shadowed an existing variable.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/Muse.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs index b9f233a1f..c19b42503 100644 --- a/src/Text/Pandoc/Readers/Muse.hs +++ b/src/Text/Pandoc/Readers/Muse.hs @@ -912,7 +912,7 @@ link = try $ do guard $ not $ museInLink st setState $ st{ museInLink = True } (url, title, content) <- linkText - updateState (\st -> st { museInLink = False }) + updateState (\state -> state { museInLink = False }) return $ case stripPrefix "URL:" url of Nothing -> if isImageUrl url then B.image url title <$> fromMaybe (return mempty) content |