Fix misleading code comment.

This commit is contained in:
John MacFarlane 2019-02-08 22:34:26 -08:00
parent 62c5d17d3f
commit 5c8e12b64b

View file

@ -416,8 +416,7 @@ capitalize = walk go
go x = x
-- | Change final list item from @Para@ to @Plain@ if the list contains
-- no other @Para@ blocks. Like compactify, but operates on @Blocks@ rather
-- than @[Block]@.
-- no other @Para@ blocks.
compactify :: [Blocks] -- ^ List of list items (each a list of blocks)
-> [Blocks]
compactify [] = []