Clean up workaround
This commit is contained in:
parent
b7fe6bece5
commit
5283ad4a08
@ -168,10 +168,7 @@ where
|
|||||||
T: MakeTlsConnect<Socket>,
|
T: MakeTlsConnect<Socket>,
|
||||||
{
|
{
|
||||||
let config = config.parse::<Config>()?;
|
let config = config.parse::<Config>()?;
|
||||||
// FIXME https://github.com/rust-lang/rust/issues/64391
|
return config.connect(tls).await;
|
||||||
async move {
|
|
||||||
config.connect(tls).await
|
|
||||||
}.await
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An asynchronous notification.
|
/// An asynchronous notification.
|
||||||
|
Loading…
Reference in New Issue
Block a user