Files
axum/axum-macros/tests/from_request/fail/generic.rs
T
David PedersenandJonas Platte 3d2f4e4a35 Move axum-debug into axum-macros (#724)
* Move axum-debug into axum-macros

* fix ref to axum-macros in changelog

* Apply suggestions from code review

Co-authored-by: Jonas Platte <[email protected]>

Co-authored-by: Jonas Platte <[email protected]>
2022-02-22 13:33:10 +01:00

7 lines
100 B
Rust

use axum_macros::FromRequest;
#[derive(FromRequest)]
struct Extractor<T>(Option<T>);
fn main() {}