Files
axum/axum-macros/tests/from_request/pass/tuple.rs
T
a4b7d3843c Remove B type param (#1751)
Co-authored-by: Jonas Platte <[email protected]>
Co-authored-by: Michael Scofield <[email protected]>
2023-03-23 20:22:35 +01:00

13 lines
200 B
Rust

use axum_macros::FromRequest;
#[derive(FromRequest)]
struct Extractor(axum::http::HeaderMap, String);
fn assert_from_request()
where
Extractor: axum::extract::FromRequest<()>,
{
}
fn main() {}