Skip to content

Commit 513d825

Browse files
authored
Merge pull request #21977 from alladinian/patch-1
2 parents 402818d + aa2be30 commit 513d825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/OptimizationTips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ assuming ``E``, ``F`` do not have any overriding declarations in the same file:
161161
func usingE(_ e: E) {
162162
e.doSomething() // There is no sub class in the file that declares this class.
163163
// The compiler can remove virtual calls to doSomething()
164-
// and directly call A's doSomething method.
164+
// and directly call E's doSomething method.
165165
}
166166

167167
func usingF(_ f: F) -> Int {

0 commit comments

Comments
 (0)