Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit c25cd9f

Browse files
ktosoglbrntt
andauthored
Update docs/concurrency-adoption-guidelines.md
Co-authored-by: George Barnett <gbarnett@apple.com>
1 parent 4363297 commit c25cd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concurrency-adoption-guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ In order to have code using concurrency along with code not using concurrency, y
2222
Please note that you do _not_ need to _import_ the `_Concurrency` at all, if it is present it is imported automatically.
2323

2424
```swift
25+
#if compiler(>=5.5) && canImport(_Concurrency)
2526
// DO NOT DO THIS.
2627
// Instead don't do any import and it'll import automatically when possible.
27-
#if compiler(>=5.5) && canImport(_Concurrency)
2828
import _Concurrency
2929
#endif
3030
```

0 commit comments

Comments
 (0)