Skip to content

Commit ecaf945

Browse files
authored
Switch arguments in withContext documentation example (#69)
1 parent bfa2cb9 commit ecaf945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Graphics/Canvas.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ foreign import restore :: Context2D -> Effect Unit
559559
-- |
560560
-- | ```purescript
561561
-- | withContext ctx $ do
562-
-- | setFillStyle "red" ctx
562+
-- | setFillStyle ctx "red"
563563
-- | ...
564564
-- | ```
565565
withContext :: forall a. Context2D -> Effect a -> Effect a

0 commit comments

Comments
 (0)