mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 04:50:31 +00:00

* Check `Request` and `Path` in `debug_handler` * changelog links * Include errors with the input
8 lines
183 B
Rust
8 lines
183 B
Rust
use axum::{body::Body, extract::Extension, http::Request};
|
|
use axum_macros::debug_handler;
|
|
|
|
#[debug_handler]
|
|
async fn handler(_: Request<Body>, _: Extension<String>) {}
|
|
|
|
fn main() {}
|