mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-25 16:47:34 +01:00
34e11c50b5
Co-authored-by: Logan Nielsen <loganbn@amazon.com>
9 lines
181 B
Rust
9 lines
181 B
Rust
use axum::extract::Extension;
|
|
use axum_macros::debug_handler;
|
|
|
|
struct NonCloneType;
|
|
|
|
#[debug_handler]
|
|
async fn test_extension_non_clone(_: Extension<NonCloneType>) {}
|
|
|
|
fn main() {}
|