Skip to content

Commit 3212479

Browse files
authored
Merge pull request #66039 from jaesung-0o0/patch-1
Modified code snippet in OptimizationTips.rst
2 parents 1cf76a0 + 62ce892 commit 3212479

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
@@ -135,7 +135,7 @@ in the following ``C.array1`` and ``D.array1`` will be accessed directly
135135
136136
func usingC(_ c: C) {
137137
c.array1[i] = ... // Can directly access C.array without going through dynamic dispatch.
138-
c.doSomething() = ... // Can directly call C.doSomething without going through virtual dispatch.
138+
c.doSomething() // Can directly call C.doSomething without going through virtual dispatch.
139139
}
140140
141141
func usingD(_ d: D) {

0 commit comments

Comments
 (0)