ycdemo / axum / axum-macros/ tests/ debug_handler/ pass/ impl_into_response.rs
use axum::response::IntoResponse;
use axum_macros::debug_handler;
#[debug_handler]
async fn handler() -> impl IntoResponse {
"hi!"
}
fn main() {}
use axum::response::IntoResponse;
use axum_macros::debug_handler;
#[debug_handler]
async fn handler() -> impl IntoResponse {
"hi!"
}
fn main() {}