Skip to content

Commit

Permalink
Update SocketAddresses.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim authored Feb 23, 2025
1 parent 893564d commit 8f66add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOCore/SocketAddresses.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import WASILibc
#endif

/// Special `Error` that may be thrown if we fail to create a `SocketAddress`.
public enum SocketAddressError: Error, Equatable {
public enum SocketAddressError: Error, Equatable, Hashable {
/// The host is unknown (could not be resolved).
case unknown(host: String, port: Int)
/// The requested `SocketAddress` is not supported.
Expand Down

0 comments on commit 8f66add

Please sign in to comment.