We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MatchContinuation
1 parent 28fea82 commit 1aba7eaCopy full SHA for 1aba7ea
docs/design/sum_types.md
@@ -112,7 +112,7 @@ interface Match {
112
113
let template Continuation:! type;
114
fn Op[self: Self, C:! Continuation](continuation: C*)
115
- -> C.(MatchContinuation.ReturnType);
+ -> C.(BaseContinuation.ReturnType);
116
}
117
```
118
@@ -170,7 +170,7 @@ look, if it were written in Carbon:
170
171
```carbon
172
class __MatchStatementImpl {
173
- extend impl as Match(Optional.MatchContinuation) where .ReturnType = () {
+ extend impl as Optional.(Match.Continuation) where .ReturnType = () {
174
fn Some(the_value: i32) {
175
Print(the_value);
176
0 commit comments