mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-10 11:51:49 +02:00
cleanup
This commit is contained in:
@@ -46,7 +46,7 @@ extension Internals {
|
||||
borrowing func withLock<Result, E>(
|
||||
_ body: (inout sending Value) throws(E) -> sending Result
|
||||
) throws(E) -> sending Result
|
||||
where E: Error, Result: ~Copyable {
|
||||
where E: Swift::Error, Result: ~Copyable {
|
||||
|
||||
let storage = self.storage
|
||||
storage.lock()
|
||||
@@ -60,7 +60,7 @@ extension Internals {
|
||||
borrowing func withLockUnchecked<Result, E>(
|
||||
_ body: (inout sending Value) throws(E) -> Result
|
||||
) throws(E) -> sending Result
|
||||
where E: Error {
|
||||
where E: Swift::Error {
|
||||
|
||||
let storage = self.storage
|
||||
storage.lock()
|
||||
|
||||
Reference in New Issue
Block a user