diff --git a/src/lib.rs b/src/lib.rs index a56122a..45d062e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ pub fn http_response(_attr: TokenStream, item: TokenStream) -> TokenStream { Self: Sized + Send, { async fn receive(mut resp: actix_web::ClientResponse) -> Result> { - let body = resp.body().await?; + let body = resp.body().await?; // Bytes, sized! #(#variant_arms)* Err(Box::new(std::io::Error::new( std::io::ErrorKind::Other,