mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-06 02:35:42 +01:00
27e848fbe8
* Fix `#[debug_handler]` for multiple extractors It generated a function for each extractor to check the type but those functions didn't have unique names. Fixed by including all idents in the `arg: Extractor` token tree in the name of the function generated. Not sure there is a simpler way to fix it. * just use a counter * don't need visit feature anymore
6 lines
127 B
Rust
6 lines
127 B
Rust
use axum_debug::debug_handler;
|
|
|
|
#[debug_handler]
|
|
async fn handler(_one: String, _two: String, _three: String) {}
|
|
|
|
fn main() {}
|