File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1107,15 +1107,15 @@ impl std::net::ToSocketAddrs for SocketAddress {
1107
1107
}
1108
1108
SocketAddress :: Hostname { ref hostname, port } => {
1109
1109
( hostname. as_str ( ) , * port) . to_socket_addrs ( )
1110
- }
1111
- SocketAddress :: OnionV2 ( ..) => {
1112
- Err ( std:: io:: Error :: new ( std :: io :: ErrorKind :: Other , "Resolution of OnionV2 \
1113
- addresses is currently unsupported.") )
1114
- }
1115
- SocketAddress :: OnionV3 { .. } => {
1116
- Err ( std:: io:: Error :: new ( std :: io :: ErrorKind :: Other , "Resolution of OnionV3 \
1117
- addresses is currently unsupported.") )
1118
- }
1110
+ } ,
1111
+ SocketAddress :: OnionV2 ( ..) => Err ( std :: io :: Error :: new (
1112
+ std:: io:: ErrorKind :: Other ,
1113
+ "Resolution of OnionV2 addresses is currently unsupported.",
1114
+ ) ) ,
1115
+ SocketAddress :: OnionV3 { .. } => Err ( std :: io :: Error :: new (
1116
+ std:: io:: ErrorKind :: Other ,
1117
+ "Resolution of OnionV3 addresses is currently unsupported.",
1118
+ ) ) ,
1119
1119
}
1120
1120
}
1121
1121
}
You can’t perform that action at this time.
0 commit comments