Sanitize impl in macro

This commit is contained in:
Martin Berg Alstad
2024-08-05 01:49:28 +02:00
parent ee487540ac
commit 347314460a
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ pub fn into_response_derive_impl(input: DeriveInput) -> TokenStream {
let name = &input.ident;
let expanded = quote! {
impl IntoResponse for #name {
impl axum::response::IntoResponse for #name {
fn into_response(self) -> axum::response::Response {
let version = env!("CARGO_PKG_VERSION");
lib::serde::response::BaseResponse::new(version, self)