mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 05:20:46 +00:00
10 lines
181 B
Rust
10 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() {}
|