mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
fmt & clippy
This commit is contained in:
@@ -90,7 +90,7 @@ impl Future for SendClientRequest {
|
||||
Ok(Async::Ready(res))
|
||||
}
|
||||
SendClientRequest::Err(ref mut e) => match e.take() {
|
||||
Some(e) => Err(e.into()),
|
||||
Some(e) => Err(e),
|
||||
None => panic!("Attempting to call completed future"),
|
||||
},
|
||||
}
|
||||
@@ -153,7 +153,7 @@ impl RequestSender {
|
||||
SendClientRequest::new(
|
||||
fut,
|
||||
response_decompress,
|
||||
timeout.or_else(|| config.timeout.clone()),
|
||||
timeout.or_else(|| config.timeout),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user