Remove the associated Body type on IntoResponse (#571)

This commit is contained in:
Kai Jewson
2021-11-28 18:52:18 +01:00
committed by GitHub
parent decdd4c948
commit 2b6dba49cb
25 changed files with 171 additions and 358 deletions
+2 -5
View File
@@ -1,5 +1,5 @@
use axum::{
body::{Bytes, Full},
body::BoxBody,
http::Response,
response::IntoResponse,
};
@@ -16,10 +16,7 @@ impl A {
}
impl IntoResponse for A {
type Body = Full<Bytes>;
type BodyError = Infallible;
fn into_response(self) -> Response<Self::Body> {
fn into_response(self) -> Response<BoxBody> {
todo!()
}
}