Skip to content

Commit e24a675

Browse files
committed
Cleanup msgs.rs trivially in anticipation of rustfmt'ing it
1 parent 056d748 commit e24a675

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
@@ -1107,15 +1107,15 @@ impl std::net::ToSocketAddrs for SocketAddress {
11071107
}
11081108
SocketAddress::Hostname { ref hostname, port } => {
11091109
(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+
)),
11191119
}
11201120
}
11211121
}

0 commit comments

Comments
 (0)