Skip to content

Commit 9bff72a

Browse files
authored
Merge pull request #19339 from flashspys/patch-1
2 parents f9d2df6 + 2c3ce9b commit 9bff72a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/proposals/UnsupportedOptimizationAttributes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ about 10 times.
5050

5151
public init (_ v : T) {t = v}
5252

53-
@_specialize(Int)
53+
@_specialize(where T == Int)
5454
public func play() {
5555
for _ in 0...100_000_000 { t = t.ping() }
5656
}
@@ -59,5 +59,5 @@ about 10 times.
5959
/// -----------------
6060
/// Application.swift
6161

62-
Game(10).play
62+
Game(10).play()
6363

0 commit comments

Comments
 (0)