diff options
author | Carl Lerche <me@carllerche.com> | 2019-02-21 11:56:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 11:56:15 -0800 |
commit | 80162306e71c8561873a9c9496d65f2c1387d119 (patch) | |
tree | 83327ca8d9d1326d54e3c679e1fb4eb16775d4be /examples/udp-client.rs | |
parent | ab595d08253dd7ee0422144f8dafffa382700976 (diff) |
chore: apply rustfmt to all crates (#917)
Diffstat (limited to 'examples/udp-client.rs')
-rw-r--r-- | examples/udp-client.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/udp-client.rs b/examples/udp-client.rs index d2d4bc99..900d3616 100644 --- a/examples/udp-client.rs +++ b/examples/udp-client.rs @@ -51,7 +51,8 @@ fn main() -> Result<(), Box<std::error::Error>> { "0.0.0.0:0" } else { "[::]:0" - }.parse()?; + } + .parse()?; let socket = UdpSocket::bind(&local_addr)?; const MAX_DATAGRAM_SIZE: usize = 65_507; socket |