mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
05529c8efc
* Check `Request` and `Path` in `debug_handler` * changelog links * Include errors with the input
7 lines
183 B
Rust
7 lines
183 B
Rust
use axum::{body::Body, extract::Extension, http::Request};
|
|
use axum_macros::debug_handler;
|
|
|
|
#[debug_handler]
|
|
async fn handler(_: Extension<String>, _: Request<Body>) {}
|
|
|
|
fn main() {}
|