@@ -13,7 +13,7 @@ the compiler shouldn't generate a warning if the return value is unused.
1313You specify an attribute by writing the ` @ ` symbol followed by the attribute's name
1414and any arguments that the attribute accepts:
1515
16- ```
16+ ``` swift
1717@< #attribute name#>
1818@< #attribute name#> (< #attribute arguments#> )
1919```
@@ -77,7 +77,7 @@ including important milestones.
7777 of the specified platform or language in which the declaration was introduced.
7878 It has the following form:
7979
80- ```
80+ ``` swift
8181 introduced: < #version number#>
8282 ```
8383 The * version number* consists of one to three positive integers,
@@ -86,7 +86,7 @@ including important milestones.
8686 of the specified platform or language in which the declaration was deprecated.
8787 It has the following form:
8888
89- ```
89+ ``` swift
9090 deprecated: < #version number#>
9191 ```
9292 The optional * version number* consists of one to three positive integers,
@@ -100,15 +100,15 @@ including important milestones.
100100 it's removed from the specified platform or language and can no longer be used.
101101 It has the following form:
102102
103- ```
103+ ``` swift
104104 obsoleted: < #version number#>
105105 ```
106106 The * version number* consists of one to three positive integers, separated by periods.
107107- The ` message ` argument provides a textual message that the compiler displays
108108 when emitting a warning or error about the use of a deprecated or obsoleted declaration.
109109 It has the following form:
110110
111- ```
111+ ``` swift
112112 message: < #message #>
113113 ```
114114 The * message* consists of a string literal.
@@ -118,7 +118,7 @@ including important milestones.
118118 when emitting an error about the use of a renamed declaration.
119119 It has the following form:
120120
121- ```
121+ ``` swift
122122 renamed: < #new name#>
123123 ```
124124 The * new name* consists of a string literal.You can apply the ` available ` attribute
@@ -198,7 +198,7 @@ If an `available` attribute only specifies an `introduced` argument
198198in addition to a platform or language name argument,
199199you can use the following shorthand syntax instead:
200200
201- ```
201+ ``` swift
202202@available (<#platform name#> <#version number#>, * )
203203@available (swift <#version number#>)
204204```
0 commit comments