Skip to content

Commit

Permalink
Fix tryM documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vegansk committed Mar 21, 2017
1 parent 1fe971d commit 9b051ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fp/trym.nim
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ template tryMImpl(body: typed): untyped =
()

macro tryM*(body: untyped): untyped =
## Combination of flatTryS and tryS
## Executes `body` and places it's result in the ``Try`` container
var b = if body.kind == nnkDo: body[^1] else: body
result = quote do:
tryMImpl((block:
Expand Down

0 comments on commit 9b051ac

Please sign in to comment.