We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ea0bf commit a6426d4Copy full SHA for a6426d4
Style.md
@@ -106,6 +106,21 @@ Spelled as two words, not closed up or hyphenated.
106
107
See entry for *Swift*.
108
109
+## deprecation
110
+
111
+In the language reference,
112
+include a deprecation note at the start of a section
113
+that describes a deprecated feature.
114
+Use wording and markup like the following:
115
116
+```
117
+> Deprecated:
118
+> This attribute is deprecated;
119
+> use the <doc:Attributes#main> attribute instead.
120
+> In Swift 6,
121
+> using this attribute will be an error.
122
123
124
## function
125
126
In the reference,
0 commit comments