Skip to content

Commit 89921c5

Browse files
committed
Fix errors in OptimizationTips
1 parent 51a9cea commit 89921c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/OptimizationTips.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ If it makes sense to limit the adoption of protocols to classes then mark
557557
protocols as class-only protocols to get better runtime performance.
558558

559559
::
560+
560561
protocol Pingable : class { func ping() -> Int }
561562

562563
.. https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Protocols.html

0 commit comments

Comments
 (0)