mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-22 16:34:05 +01:00
cleanup
This commit is contained in:
1 parent
1ea9ad7c4a
commit
13093d72d4
51 files changed
+1083
-243
No files matched your search
@@ -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