mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Add Extension<NonCloneType> debug_handler ui test (#2731)
Co-authored-by: Logan Nielsen <[email protected]>
This commit is contained in:
co-authored by
Logan Nielsen
parent
80afd9253d
commit
34e11c50b5
@@ -0,0 +1,9 @@
|
||||
use axum::extract::Extension;
|
||||
use axum_macros::debug_handler;
|
||||
|
||||
struct NonCloneType;
|
||||
|
||||
#[debug_handler]
|
||||
async fn test_extension_non_clone(_: Extension<NonCloneType>) {}
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user