Skip to content

Commit 275d1dd

Browse files
committed
Lead with the list
1 parent 4805de5 commit 275d1dd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

TSPL.docc/ReferenceManual/Attributes.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,17 @@ can increase your binary size and adversely affect performance.
13081308

13091309
Apply this attribute to a declaration,
13101310
to suppress strict concurrency checking.
1311+
You can apply this attribute
1312+
to the following kinds of declarations:
1313+
1314+
- Imports
1315+
- Structures, classes, and actors
1316+
- Enumerations and enumeration cases
1317+
- Protocols
1318+
- Variables and constants
1319+
- Subscripts
1320+
- Initializers
1321+
- Functions
13111322

13121323
On an import declaration,
13131324
this attribute reduces the strictness of concurrency checking
@@ -1324,17 +1335,6 @@ When you use this symbol in a scope that has minimal concurrency checking,
13241335
concurrency-related constraints specified by that symbol,
13251336
such as `Sendable` requirements or global actors,
13261337
aren't checked.
1327-
You can apply this attribute
1328-
to the following kinds of declarations:
1329-
1330-
- Imports
1331-
- Structures, classes, and actors
1332-
- Enumerations and enumeration cases
1333-
- Protocols
1334-
- Variables and constants
1335-
- Subscripts
1336-
- Initializers
1337-
- Functions
13381338

13391339
You can use this attribute as follows,
13401340
to aid in migrating code to strict concurrency checking:

0 commit comments

Comments
 (0)