Skip to content

Commit 1aba7ea

Browse files
authored
Clean up lingering mentions of MatchContinuation (#5687)
1 parent 28fea82 commit 1aba7ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/design/sum_types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ interface Match {
112112
113113
let template Continuation:! type;
114114
fn Op[self: Self, C:! Continuation](continuation: C*)
115-
-> C.(MatchContinuation.ReturnType);
115+
-> C.(BaseContinuation.ReturnType);
116116
}
117117
```
118118

@@ -170,7 +170,7 @@ look, if it were written in Carbon:
170170

171171
```carbon
172172
class __MatchStatementImpl {
173-
extend impl as Match(Optional.MatchContinuation) where .ReturnType = () {
173+
extend impl as Optional.(Match.Continuation) where .ReturnType = () {
174174
fn Some(the_value: i32) {
175175
Print(the_value);
176176
}

0 commit comments

Comments
 (0)