Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/OptimizationTips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ assuming ``E``, ``F`` do not have any overriding declarations in the same file:
func usingE(_ e: E) {
e.doSomething() // There is no sub class in the file that declares this class.
// The compiler can remove virtual calls to doSomething()
// and directly call A's doSomething method.
// and directly call E's doSomething method.
}

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