Clean up workaround

This commit is contained in:
Steven Fackler 2019-09-19 14:45:15 -07:00
parent b7fe6bece5
commit 5283ad4a08

View File

@ -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.