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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
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]

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 2 deletions
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)