fmt
This commit is contained in:
1 parent
a766aaf165
commit
81d4fb6d6a
1 file changed
+2
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user