Skip to content

Commit

Permalink
Fix newline escaping in haddock for Pretty Char instance (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins authored Nov 7, 2024
1 parent eccc839 commit 5db8a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prettyprinter/src/Prettyprinter/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ instance Pretty Bool where
pretty True = "True"
pretty False = "False"

-- | Instead of @('pretty' '\n')@, consider using @'line'@ as a more readable
-- | Instead of @('pretty' '\\n')@, consider using @'line'@ as a more readable
-- alternative.
--
-- >>> pretty 'f' <> pretty 'o' <> pretty 'o'
Expand Down

0 comments on commit 5db8a0f

Please sign in to comment.