@@ -1308,6 +1308,17 @@ can increase your binary size and adversely affect performance.
1308
1308
1309
1309
Apply this attribute to a declaration,
1310
1310
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
1311
1322
1312
1323
On an import declaration,
1313
1324
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,
1324
1335
concurrency-related constraints specified by that symbol,
1325
1336
such as ` Sendable ` requirements or global actors,
1326
1337
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
1338
1338
1339
1339
You can use this attribute as follows,
1340
1340
to aid in migrating code to strict concurrency checking:
0 commit comments