Skip to content

Commit facdc72

Browse files
committed
Cleanup msgs.rs rather trivially after rustfmt'ing it
1 parent b6bf505 commit facdc72

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lightning/src/ln/msgs.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,15 +1108,15 @@ impl std::net::ToSocketAddrs for SocketAddress {
11081108
},
11091109
SocketAddress::Hostname { ref hostname, port } => {
11101110
(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+
)),
11201120
}
11211121
}
11221122
}

0 commit comments

Comments
 (0)