Skip to content

Commit 8cbe460

Browse files
committed
Fix for compilation failure with Swift 5
1 parent 9e1f956 commit 8cbe460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Atoms/Core/SubscriberState.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal final class SubscriberState {
1717
}
1818
}
1919
#else
20-
private var _unsubscribe = UnsafeUncheckedSendable<(@MainActor (Set<AtomKey>) -> Void)?>(nil)
20+
private var _unsubscribe = UnsafeUncheckedSendable<(@MainActor () -> Void)?>(nil)
2121

2222
var unsubscribe: (@MainActor () -> Void)? {
2323
_read { yield _unsubscribe.value }

0 commit comments

Comments
 (0)