Skip to content

Commit 8f6028d

Browse files
authored
Merge pull request swiftlang#17098 from mdiep/fix-typo-in-comment
2 parents 60f2002 + 91349da commit 8f6028d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,7 +2300,7 @@ class SubscriptExpr final : public LookupExpr,
23002300
return Bits.SubscriptExpr.HasArgLabelLocs;
23012301
}
23022302

2303-
/// Whether this call with written with a trailing closure.
2303+
/// Whether this call was written with a trailing closure.
23042304
bool hasTrailingClosure() const {
23052305
return Bits.SubscriptExpr.HasTrailingClosure;
23062306
}

0 commit comments

Comments
 (0)