cargo fmt

This commit is contained in:
Petar Dambovaliev 2020-12-04 00:01:18 +01:00
parent 4d1c60466c
commit 4799878895
1 changed files with 3 additions and 2 deletions

View File

@ -269,8 +269,9 @@ where
{
let body = read_body(res).await;
serde_json::from_slice(&body)
.unwrap_or_else(|e| panic!("read_response_json failed during deserialization: {}", e))
serde_json::from_slice(&body).unwrap_or_else(|e| {
panic!("read_response_json failed during deserialization: {}", e)
})
}
pub async fn load_stream<S>(mut stream: S) -> Result<Bytes, Error>