clippy errors
This commit is contained in:
parent
2804b7e241
commit
d41e13e539
|
@ -213,7 +213,7 @@ pub fn send_request2(
|
||||||
|
|
||||||
match http_body {
|
match http_body {
|
||||||
HttpBody::None => {
|
HttpBody::None => {
|
||||||
return send_cancellable_request(&request_url, Box::new(|| request.call()), ctrl_c);
|
send_cancellable_request(&request_url, Box::new(|| request.call()), ctrl_c)
|
||||||
}
|
}
|
||||||
HttpBody::ByteStream(byte_stream) => {
|
HttpBody::ByteStream(byte_stream) => {
|
||||||
let bytes = byte_stream.into_bytes()?;
|
let bytes = byte_stream.into_bytes()?;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user