Skip to content

Commit 34f31bd

Browse files
committed
hash of hashes
1 parent 90e6998 commit 34f31bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightbug_http/pool_manager.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct PoolKey(Hashable, KeyElement):
4848
fn __hash__(self) -> UInt:
4949
# TODO: Very rudimentary hash. We probably need to actually have an actual hash function here.
5050
# Since Tuple doesn't have one.
51-
return hash(self.host) + hash(self.port) + hash(self.scheme)
51+
return hash(hash(self.host) + hash(self.port) + hash(self.scheme))
5252

5353
fn __eq__(self, other: Self) -> Bool:
5454
return self.host == other.host and self.port == other.port and self.scheme == other.scheme

0 commit comments

Comments
 (0)