mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 07:39:25 +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(_: Request<Body>, _: Extension<String>) {}
|
|
|
|
fn main() {}
|