Skip to content

Commit a937ab7

Browse files
committed
Removed unused CircularBuffer extension method (swapRemoveWhereOrFirst)
1 parent 9740493 commit a937ab7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/AsyncHTTPClient/Utils.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ extension CircularBuffer {
8686
return nil
8787
}
8888
}
89-
90-
@discardableResult
91-
mutating func swapRemoveWhereOrFirst(where predicate: (Element) throws -> Bool) rethrows -> Element? {
92-
return try self.swapRemove(where: predicate) ?? self.popFirst()
93-
}
9489
}
9590

9691
extension ConnectionPool.Connection {

0 commit comments

Comments
 (0)