Skip to content

Commit 8e0e655

Browse files
committed
Fix docstring of render
1 parent 548bb42 commit 8e0e655

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/HsLua/Module/DocLayout.hs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,11 @@ render = defun "render"
247247
<#> docParam "doc"
248248
<#> opt (integralParam "colwidth" "planned maximum line length")
249249
=#> functionResult pushText "Doc" "rendered doc"
250-
#? ("Render a [[Doc]]. The text is reflowed on breakable spaces" <>
251-
"to match the given line length. Text is not reflowed if the" <>
252-
"line length parameter is omitted or nil.")
250+
#? T.unlines
251+
[ "Render a [[Doc]]. The text is reflowed on breakable spaces to"
252+
, "match the given line length. Text is not reflowed if the line"
253+
, "line length parameter is omitted or nil."
254+
]
253255

254256
--
255257
-- Querying

0 commit comments

Comments
 (0)