Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianfett committed Jul 8, 2021
1 parent 834d0d5 commit 4641749
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
import NIO

extension HTTPConnectionPool {
struct Waiter {
struct ID: Hashable {
private let objectIdentifier: ObjectIdentifier
struct RequestID: Hashable {
private let objectIdentifier: ObjectIdentifier

init(_ request: HTTPScheduledRequest) {
self.objectIdentifier = ObjectIdentifier(request)
}
init(_ request: HTTPScheduledRequest) {
self.objectIdentifier = ObjectIdentifier(request)
}
}

var id: ID {
ID(self.request)
struct Waiter {
var requestID: RequestID {
RequestID(self.request)
}

var request: HTTPScheduledRequest {
Expand Down

0 comments on commit 4641749

Please sign in to comment.