Skip to content

Commit

Permalink
Updates documentation of collect_traces function
Browse files Browse the repository at this point in the history
  • Loading branch information
thepabloaguilar committed Jun 30, 2020
1 parent 09302bf commit 5b9e980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Or as a decorator:
>>> from returns.result import Failure, Result
>>> from returns.primitives.tracing import collect_traces
>>> @collect_traces()
>>> @collect_traces
... def traced_function(value: str) -> IOResult[str, str]:
... return IOFailure(value)
Expand Down

0 comments on commit 5b9e980

Please sign in to comment.