浏览代码

Clean up lingering mentions of `MatchContinuation` (#5687)

Geoff Romer 10 月之前
父节点
当前提交
1aba7ea9d6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/design/sum_types.md

+ 2 - 2
docs/design/sum_types.md

@@ -112,7 +112,7 @@ interface Match {
 
   let template Continuation:! type;
   fn Op[self: Self, C:! Continuation](continuation: C*)
-    -> C.(MatchContinuation.ReturnType);
+    -> C.(BaseContinuation.ReturnType);
 }
 ```
 
@@ -170,7 +170,7 @@ look, if it were written in Carbon:
 
 ```carbon
 class __MatchStatementImpl {
-  extend impl as Match(Optional.MatchContinuation) where .ReturnType = () {
+  extend impl as Optional.(Match.Continuation) where .ReturnType = () {
     fn Some(the_value: i32) {
       Print(the_value);
     }