Minor cleanup

This commit is contained in:
David Smith committed 2025-04-21 23:24:09 +00:00
1 parent 9d325b29ce
commit ea77ef8a21
1 file changed
+1 -3
+1 -3
View File
@@ -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)