mirror of
https://github.com/tokio-rs/axum.git
synced 2025-03-22 06:55:31 +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
|
/// [`serde_html_form`]: https://crates.io/crates/serde_html_form
|
||||||
#[derive(Debug, Clone, Copy, Default)]
|
#[derive(Debug, Clone, Copy, Default)]
|
||||||
|
#[cfg(feature = "form")]
|
||||||
pub struct Form<T>(pub T);
|
pub struct Form<T>(pub T);
|
||||||
|
|
||||||
impl<T> Deref for Form<T> {
|
impl<T> Deref for Form<T> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue