Files
axum/axum-macros/tests/from_request/pass/tuple.rs
T
4e4c29175f Remove B type param (#1751)
Co-authored-by: Jonas Platte <[email protected]>
Co-authored-by: Michael Scofield <[email protected]>
2023-04-21 17:45:31 +02: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() {}