mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +01:00
Add missing cfg
to axum_extra::extract::Form
(#1194)
This commit is contained in:
parent
234c8ccb13
commit
10ab8c7aba
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ use std::ops::Deref;
|
|||
///
|
||||
/// [`serde_html_form`]: https://crates.io/crates/serde_html_form
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
#[cfg(feature = "form")]
|
||||
pub struct Form<T>(pub T);
|
||||
|
||||
impl<T> Deref for Form<T> {
|
||||
|
|
Loading…
Reference in a new issue