Skip to content

Commit 8d69ae0

Browse files
committed
Another return
1 parent 1b32337 commit 8d69ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Support/Locked.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ extension Locked {
140140
return nil
141141
}
142142
#endif
143-
try _storage.mutex.withLockIfAvailable { rawValue in
143+
return try _storage.mutex.withLockIfAvailable { rawValue in
144144
#if os(Linux) || os(Android)
145145
_storage.owningThreadID.store(tid, ordering: .sequentiallyConsistent)
146146
defer {

0 commit comments

Comments
 (0)