Skip to content

Commit a320c9f

Browse files
committed
Fix docs of function render
The function returns a string, not a Doc element.
1 parent 5ea1a48 commit a320c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HsLua/Module/DocLayout.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ render = defun "render"
246246
### liftPure2 (flip Doc.render)
247247
<#> docParam "doc"
248248
<#> opt (integralParam "colwidth" "planned maximum line length")
249-
=#> functionResult pushText "Doc" "rendered doc"
249+
=#> functionResult pushText "string" "rendered doc"
250250
#? T.unlines
251251
[ "Render a [[Doc]]. The text is reflowed on breakable spaces to"
252252
, "match the given line length. Text is not reflowed if the line"

0 commit comments

Comments
 (0)