Skip to content

Commit 6837ecb

Browse files
authored
Minor cleanup in README and package file (#21)
1 parent cd8dd84 commit 6837ecb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ let package = Package(
1919
targets: [
2020
.target(
2121
name: "AsyncQueue",
22-
dependencies: []),
22+
dependencies: [],
23+
swiftSettings: [
24+
.enableUpcomingFeature("StrictConcurrency")
25+
]),
2326
.testTarget(
2427
name: "AsyncQueueTests",
2528
dependencies: ["AsyncQueue"],

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func testFIFOQueueOrdering() async {
6060
}
6161
}
6262

63-
nonisolated
6463
func flushQueue() async {
6564
await queue.enqueueAndWait { }
6665
}
@@ -110,7 +109,6 @@ func testActorQueueOrdering() async {
110109
}
111110
}
112111

113-
nonisolated
114112
func flushQueue() async {
115113
await queue.enqueueAndWait { _ in }
116114
}
@@ -148,7 +146,6 @@ func testMainActorQueueOrdering() async {
148146
}
149147
}
150148

151-
nonisolated
152149
func flushQueue() async {
153150
await MainActorQueue.shared.enqueueAndWait { }
154151
}

0 commit comments

Comments
 (0)