This commit is contained in:
Bastian Gruber 2019-04-23 19:13:16 +02:00
parent c2ceb4beb1
commit a225641930
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub struct TestBackend<T: HttpService> {
service: T,
connection: T::Connection,
}
 
impl<T: HttpService> TestBackend<T> {
fn wrap(service: T) -> Result<Self, <T::ConnectionFuture as TryFuture>::Error> {
let connection = block_on(service.connect().into_future())?;