Skip to content

Commit 09edc09

Browse files
committed
Fix argument name of rblock
1 parent 213e7f6 commit 09edc09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Foreign/Lua/Module/DocLayout.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ lblock width = return . Doc.lblock width
202202
literal :: Text -> Lua (Doc Text)
203203
literal = return . Doc.literal
204204

205-
-- | Indents a @'Doc' by the specified number of spaces.
205+
-- | Indents a @'Doc'@ by the specified number of spaces.
206206
nest :: Int -> Doc Text -> Lua (Doc Text)
207207
nest ind = return . Doc.nest ind
208208

@@ -230,7 +230,7 @@ quotes = return . Doc.quotes
230230

231231
-- | Like @'lblock'@ but aligned to the right.
232232
rblock :: Int -> Doc Text -> Lua (Doc Text)
233-
rblock ind = return . Doc.rblock ind
233+
rblock width = return . Doc.rblock width
234234

235235
-- | A breaking (reflowable) space.
236236
space :: Doc Text

0 commit comments

Comments
 (0)