mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
Minor cleanup
This commit is contained in:
1 parent
9d325b29ce
commit
ea77ef8a21
1 file changed
+1
-3
@@ -553,9 +553,7 @@ public struct IORing: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
public mutating func registerFileSlots(count: Int) throws(Errno) -> RegisteredResources<
|
||||
IORing.RegisteredFile.Resource
|
||||
> {
|
||||
public mutating func registerFileSlots(count: Int) throws(Errno) -> RegisteredResources<RegisteredFile.Resource> {
|
||||
precondition(_registeredFiles.isEmpty)
|
||||
precondition(count < UInt32.max)
|
||||
let files = [UInt32](repeating: UInt32.max, count: count)
|
||||
|
||||
Reference in new issue
Block a user