aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/src/udp.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hbb_common/src/udp.rs b/libs/hbb_common/src/udp.rs
index 54ef8bd..bb0d071 100644
--- a/libs/hbb_common/src/udp.rs
+++ b/libs/hbb_common/src/udp.rs
@@ -54,7 +54,8 @@ impl FramedSocket {
reuse: bool,
buf_size: usize,
) -> ResultType<Self> {
- let addr = lookup_host(&addr).await?
+ let addr = lookup_host(&addr)
+ .await?
.next()
.context("could not resolve to any address")?;
Ok(Self::Direct(UdpFramed::new(