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 @@ -1108,15 +1108,15 @@ impl std::net::ToSocketAddrs for SocketAddress {
1108
1108
} ,
1109
1109
SocketAddress :: Hostname { ref hostname, port } => {
1110
1110
( hostname. as_str ( ) , * port) . to_socket_addrs ( )
1111
- }
1112
- SocketAddress :: OnionV2 ( ..) => {
1113
- Err ( std:: io:: Error :: new ( std :: io :: ErrorKind :: Other , "Resolution of OnionV2 \
1114
- addresses is currently unsupported.") )
1115
- }
1116
- SocketAddress :: OnionV3 { .. } => {
1117
- Err ( std:: io:: Error :: new ( std :: io :: ErrorKind :: Other , "Resolution of OnionV3 \
1118
- addresses is currently unsupported.") )
1119
- }
1111
+ } ,
1112
+ SocketAddress :: OnionV2 ( ..) => Err ( std :: io :: Error :: new (
1113
+ std:: io:: ErrorKind :: Other ,
1114
+ "Resolution of OnionV2 addresses is currently unsupported.",
1115
+ ) ) ,
1116
+ SocketAddress :: OnionV3 { .. } => Err ( std :: io :: Error :: new (
1117
+ std:: io:: ErrorKind :: Other ,
1118
+ "Resolution of OnionV3 addresses is currently unsupported.",
1119
+ ) ) ,
1120
1120
}
1121
1121
}
1122
1122
}
You can’t perform that action at this time.
0 commit comments