mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Check for multiple body extractors in debug_handler (#1036)
* Check for multiple body extractors in `debug_handler` * changelog link
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use axum_macros::debug_handler;
|
||||
use axum::http::{Method, Uri};
|
||||
|
||||
#[debug_handler]
|
||||
async fn handler(_one: String, _two: String, _three: String) {}
|
||||
async fn handler(_one: Method, _two: Uri, _three: String) {}
|
||||
|
||||
fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user