Skip to content

Commit

Permalink
Update maud/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Wong <[email protected]>
  • Loading branch information
TheNeikos and lambda-fairy authored Aug 15, 2021
1 parent 68161aa commit 8c3a272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maud/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ mod axum_support {
};

impl IntoResponse for PreEscaped<String> {
fn into_response(self) -> Response<axum::body::Body> {
fn into_response(self) -> Response<Body> {
let mut res = Response::new(Body::from(self.0));
*res.status_mut() = StatusCode::OK;
res.headers_mut().insert(
Expand Down

0 comments on commit 8c3a272

Please sign in to comment.