mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Remove wrong comment about performance (#2281)
This commit is contained in:
1 parent
dee448ac8b
commit
cdeffe8c5b
1 file changed
-1
@@ -141,7 +141,6 @@ extension NIOLock {
|
||||
return try body()
|
||||
}
|
||||
|
||||
// specialise Void return (for performance)
|
||||
@inlinable
|
||||
public func withLockVoid(_ body: () throws -> Void) rethrows -> Void {
|
||||
try self.withLock(body)
|
||||
|
||||
Reference in new issue
Block a user