Skip to content

Commit c5bf12b

Browse files
committed
Update
1 parent 7754245 commit c5bf12b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/Verge/Store/Store.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ extension Store {
444444
@inline(__always)
445445
func _receive_sending<Result>(
446446
mutation: (inout InoutRef<State>, inout Transaction) throws -> Result
447-
) rethrows -> sending Result {
447+
) rethrows -> Result {
448448

449449
let signpost = VergeSignpostTransaction("Store.commit")
450450
defer {

Sources/Verge/Store/StoreDriverType.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ extension StoreDriverType {
451451
_ file: StaticString = #file,
452452
_ function: StaticString = #function,
453453
_ line: UInt = #line,
454-
mutation: sending (inout InoutRef<Scope>) throws -> Result
454+
mutation: sending (inout InoutRef<Scope>) throws -> sending Result
455455
) async rethrows -> Result {
456456

457457
let trace = MutationTrace(
@@ -493,7 +493,7 @@ extension StoreDriverType {
493493
_ file: StaticString = #file,
494494
_ function: StaticString = #function,
495495
_ line: UInt = #line,
496-
mutation: sending (inout InoutRef<Scope>, inout Transaction) throws -> Result
496+
mutation: sending (inout InoutRef<Scope>, inout Transaction) throws -> sending Result
497497
) async rethrows -> Result {
498498

499499
let trace = MutationTrace(
@@ -535,7 +535,7 @@ extension StoreDriverType {
535535
_ file: StaticString = #file,
536536
_ function: StaticString = #function,
537537
_ line: UInt = #line,
538-
mutation: sending (inout InoutRef<Scope>) throws -> Result
538+
mutation: sending (inout InoutRef<Scope>) throws -> sending Result
539539
) async rethrows -> Result where Scope == TargetStore.State {
540540

541541
let trace = MutationTrace(

0 commit comments

Comments
 (0)