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