We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e6998 commit 34f31bdCopy full SHA for 34f31bd
lightbug_http/pool_manager.mojo
@@ -48,7 +48,7 @@ struct PoolKey(Hashable, KeyElement):
48
fn __hash__(self) -> UInt:
49
# TODO: Very rudimentary hash. We probably need to actually have an actual hash function here.
50
# Since Tuple doesn't have one.
51
- return hash(self.host) + hash(self.port) + hash(self.scheme)
+ return hash(hash(self.host) + hash(self.port) + hash(self.scheme))
52
53
fn __eq__(self, other: Self) -> Bool:
54
return self.host == other.host and self.port == other.port and self.scheme == other.scheme
0 commit comments