Skip to content

Commit 5c1d9b7

Browse files
Remove @unchecked from StackState's Sendable conformance (#2997)
* Updates Swift Collections to 1.1.0, and removes @unchecked from StackState's Sendable conformance * Update Package.swift --------- Co-authored-by: Stephen Celis <[email protected]>
1 parent e0958d3 commit 5c1d9b7

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Package.resolved

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"kind" : "remoteSourceControl",
5151
"location" : "https://github.com/apple/swift-collections",
5252
"state" : {
53-
"revision" : "a902f1823a7ff3c9ab2fba0f992396b948eda307",
54-
"version" : "1.0.5"
53+
"revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
54+
"version" : "1.1.0"
5555
}
5656
},
5757
{

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
)
1818
],
1919
dependencies: [
20-
.package(url: "https://github.com/apple/swift-collections", from: "1.0.2"),
20+
.package(url: "https://github.com/apple/swift-collections", from: "1.1.0"),
2121
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
2222
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.0"),
2323
.package(url: "https://github.com/pointfreeco/combine-schedulers", from: "1.0.0"),

[email protected]

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let package = Package(
1818
)
1919
],
2020
dependencies: [
21-
.package(url: "https://github.com/apple/swift-collections", from: "1.0.2"),
21+
.package(url: "https://github.com/apple/swift-collections", from: "1.1.0"),
2222
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
2323
.package(url: "https://github.com/apple/swift-syntax", "509.0.0"..<"511.0.0"),
2424
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.0"),

Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ extension StackState: Hashable where Element: Hashable {
183183
}
184184
}
185185

186-
// NB: We can remove `@unchecked` when swift-collections 1.1 is released.
187-
extension StackState: @unchecked Sendable where Element: Sendable {}
186+
extension StackState: Sendable where Element: Sendable {}
188187

189188
extension StackState: Decodable where Element: Decodable {
190189
public init(from decoder: Decoder) throws {

0 commit comments

Comments
 (0)