aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/RST.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-01 15:42:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-01 15:42:00 -0700
commitfb0d6c7cb63a791fa72becf21ed493282e65ea91 (patch)
tree5041a742bd53fd8d88d267106c283d3c80f820ab /src/Text/Pandoc/Writers/RST.hs
parent021cdb543b00995f86eefd5d84314d9e1f5abf82 (diff)
downloadpandoc-fb0d6c7cb63a791fa72becf21ed493282e65ea91.tar.gz
Depend on pandoc-types 1.23, remove Null constructor on Block.
Diffstat (limited to 'src/Text/Pandoc/Writers/RST.hs')
-rw-r--r--src/Text/Pandoc/Writers/RST.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs
index 8b2002851..88e185897 100644
--- a/src/Text/Pandoc/Writers/RST.hs
+++ b/src/Text/Pandoc/Writers/RST.hs
@@ -197,7 +197,6 @@ bordered contents c =
blockToRST :: PandocMonad m
=> Block -- ^ Block element
-> RST m (Doc Text)
-blockToRST Null = return empty
blockToRST (Div ("",["title"],[]) _) = return empty
-- this is generated by the rst reader and can safely be
-- omitted when we're generating rst