Skip to content

Commit b646ab9

Browse files
fix: use absolute path for axum::Json (#5)
1 parent 908670f commit b646ab9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/breach-macros/src/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl<'a> ToTokens for HttpError<'a> {
4848
#[automatically_derived]
4949
impl #impl_generics ::axum::response::IntoResponse for #ident #type_generics #where_clause {
5050
fn into_response(self) -> ::axum::response::Response {
51-
(self.status(), Json(self)).into_response()
51+
(self.status(), ::axum::Json(self)).into_response()
5252
}
5353
}
5454
});

0 commit comments

Comments
 (0)