Sanitize returntype in macro
This commit is contained in:
@ -8,7 +8,7 @@ pub fn into_response_derive_impl(input: DeriveInput) -> TokenStream {
|
||||
|
||||
let expanded = quote! {
|
||||
impl IntoResponse for #name {
|
||||
fn into_response(self) -> Response {
|
||||
fn into_response(self) -> axum::response::Response {
|
||||
let version = env!("CARGO_PKG_VERSION");
|
||||
lib::serde::response::BaseResponse::new(version, self)
|
||||
.into_response()
|
||||
|
Reference in New Issue
Block a user