Skip to content

Commit 8b62dbf

Browse files
amartini51rolsen8
andcommitted
Rewrite to use "noasync" only in code voice
Co-authored-by: Robert Olsen <[email protected]>
1 parent 927eaba commit 8b62dbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TSPL.docc/ReferenceManual/Attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@ including important milestones.
276276
}
277277
```
278278

279-
You can use noasync availability with most declarations;
279+
You can use the `noasync` argument on most declarations;
280280
however, you can't use it when declaring deinitializers.
281281
Swift must be able to call a class's deinitializers from any context,
282282
both synchronous and asynchronous.
283283

284284
- The `message` argument provides a textual message that the compiler displays
285-
when emitting a warning or error about the use of a deprecated, obsoleted,
286-
or noasync declaration.
285+
when emitting a warning or error about the use
286+
of a declaration marked `deprecated`, `obsoleted`, or `noasync`.
287287
It has the following form:
288288

289289
```swift

0 commit comments

Comments
 (0)