Skip to content

Commit aa2be30

Browse files
authored
Update OptimizationTips.rst
Super-small typo fix
1 parent 532c006 commit aa2be30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/OptimizationTips.rst

+1-1
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)