File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ extension Parser {
7878 /// We're parsing a matching pattern that is introduced via `let`, `var`, or `inout`
7979 ///
8080 /// ```
81- /// case let x.y <- 'x' must refer to the base of some member access, y must refer to some pattern-compatible identfier
81+ /// case let x.y <- 'x' must refer to the base of some member access, y must refer to some pattern-compatible identifier
8282 /// ```
8383 case bindingIntroducer
8484
@@ -2279,7 +2279,7 @@ extension Parser {
22792279 )
22802280 )
22812281 } else if allowStandaloneStmtRecovery && ( self . atStartOfExpression ( ) || self . atStartOfStatement ( ) || self . atStartOfDeclaration ( ) ) {
2282- // Synthesize a label for the stamenent or declaration that isn't coverd by a case right now.
2282+ // Synthesize a label for the statement or declaration that isn't covered by a case right now.
22832283 let statements = parseSwitchCaseBody ( )
22842284 if statements. isEmpty {
22852285 break
@@ -2470,7 +2470,7 @@ extension Parser {
24702470 /// Grammar
24712471 /// =======
24722472 ///
2473- /// case-item → pattern where-clause?
2473+ /// case-item → pattern where-clause?
24742474 mutating func parseGuardedCasePattern( ) -> ( RawPatternSyntax , RawWhereClauseSyntax ? ) {
24752475 let pattern = self . parseMatchingPattern ( context: . matching)
24762476
You can’t perform that action at this time.
0 commit comments