mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 21:40:55 +00:00
9 lines
104 B
Rust
9 lines
104 B
Rust
use axum::extract::FromRef;
|
|
|
|
#[derive(Clone, FromRef)]
|
|
struct AppState<T> {
|
|
foo: T,
|
|
}
|
|
|
|
fn main() {}
|