mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-25 08:37:29 +01:00
10 lines
183 B
Rust
10 lines
183 B
Rust
use axum_macros::debug_handler;
|
|
use axum::{Json, http::Uri};
|
|
|
|
#[debug_handler]
|
|
async fn one(_: Json<()>, _: Uri) {}
|
|
|
|
#[debug_handler]
|
|
async fn two(_: String, _: Uri) {}
|
|
|
|
fn main() {}
|