Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update versioned_docs/version-4.0.0-alpha.1/macros-attributes/chain-e…
…xtension.md

Co-authored-by: Michael Müller <[email protected]>
  • Loading branch information
German and cmichi authored Feb 1, 2023
commit bbb9a1559e0fa47afacb793ae5bc108b2b41e45f
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ if a call to it may never fail and never returns a `Result` type.

## Combinations

Due to the possibility to flag a chain extension method with `handle_status` and return or not `Result<T, E>`
Due to the possibility to flag a chain extension method with `handle_status` and either (1) return `Result<T, E>`
or (2) return just `T`
there are 4 different cases with slightly varying semantics:

| `handle_status` | Returns `Result<T, E>` | Effects |
Expand Down