From c5bf12b922061e7af8e918c45e46d143ea23d3fd Mon Sep 17 00:00:00 2001 From: Muukii Date: Thu, 12 Dec 2024 23:03:58 +0900 Subject: [PATCH] Update --- Sources/Verge/Store/Store.swift | 2 +- Sources/Verge/Store/StoreDriverType.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/Verge/Store/Store.swift b/Sources/Verge/Store/Store.swift index 245396165d..eb306a3caa 100644 --- a/Sources/Verge/Store/Store.swift +++ b/Sources/Verge/Store/Store.swift @@ -444,7 +444,7 @@ extension Store { @inline(__always) func _receive_sending( mutation: (inout InoutRef, inout Transaction) throws -> Result - ) rethrows -> sending Result { + ) rethrows -> Result { let signpost = VergeSignpostTransaction("Store.commit") defer { diff --git a/Sources/Verge/Store/StoreDriverType.swift b/Sources/Verge/Store/StoreDriverType.swift index 8cf6d9ac39..90f179bb06 100644 --- a/Sources/Verge/Store/StoreDriverType.swift +++ b/Sources/Verge/Store/StoreDriverType.swift @@ -451,7 +451,7 @@ extension StoreDriverType { _ file: StaticString = #file, _ function: StaticString = #function, _ line: UInt = #line, - mutation: sending (inout InoutRef) throws -> Result + mutation: sending (inout InoutRef) throws -> sending Result ) async rethrows -> Result { let trace = MutationTrace( @@ -493,7 +493,7 @@ extension StoreDriverType { _ file: StaticString = #file, _ function: StaticString = #function, _ line: UInt = #line, - mutation: sending (inout InoutRef, inout Transaction) throws -> Result + mutation: sending (inout InoutRef, inout Transaction) throws -> sending Result ) async rethrows -> Result { let trace = MutationTrace( @@ -535,7 +535,7 @@ extension StoreDriverType { _ file: StaticString = #file, _ function: StaticString = #function, _ line: UInt = #line, - mutation: sending (inout InoutRef) throws -> Result + mutation: sending (inout InoutRef) throws -> sending Result ) async rethrows -> Result where Scope == TargetStore.State { let trace = MutationTrace(