We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d26589b commit 5eaa296Copy full SHA for 5eaa296
Flow/Locking.swift
@@ -33,7 +33,7 @@ public final class Mutex {
33
34
extension pthread_mutex_t {
35
mutating func withPointer<T>(_ body: (PThreadMutex) throws -> T) rethrows -> T {
36
- try withUnsafeMutablePointer(to: &self, body)
+ return try withUnsafeMutablePointer(to: &self, body)
37
}
38
39
mutating func initialize() {
0 commit comments