Skip to content

Commit b9ebabc

Browse files
committed
clean up protocol declarations
1 parent c8916eb commit b9ebabc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/CollectionViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Foundation
1515
import UIKit
1616

1717
/// Represents a collection view with sections and items.
18-
public struct CollectionViewModel: Hashable, DiffableViewModel {
18+
public struct CollectionViewModel: DiffableViewModel {
1919
/// Returns the empty collection view model.
2020
public static var empty: Self {
2121
Self(id: "com.ReactiveCollectionsKit.CollectionViewModel.empty")

Sources/DiffableDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import Foundation
1515
import UIKit
1616

17-
extension AnyHashable: @unchecked @retroactive Sendable { }
17+
extension AnyHashable: @retroactive @unchecked Sendable { }
1818

1919
@MainActor
2020
final class DiffableDataSource: UICollectionViewDiffableDataSource<AnyHashable, AnyHashable> {

0 commit comments

Comments
 (0)