Skip to content

Commit

Permalink
Fix README.md typo (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcecile authored Aug 27, 2024
1 parent 11f7687 commit 92f9893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ result = call_api(1)

result.success? # => true on success, false on failure
result.failure? # => true on failure, false on success
result.payload # => raises error on failure, payload type on failure
result.payload # => raises error on failure, payload type on success
result.error # => raises error on success, error type on failure
result.payload_or("fallback") # => returns payload on success, given value on failure

Expand Down

0 comments on commit 92f9893

Please sign in to comment.