From 81d4fb6d6aaef31b7fcb608e04debfa0221eec2f Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 7 Jan 2023 00:50:48 +0800 Subject: fmt --- libs/hbb_common/src/udp.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { - 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( -- cgit v1.2.3