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