Make inner 'Form' field public.

This commit is contained in:
Rukai 2018-11-03 11:07:23 +11:00 committed by Sergio Benitez
parent 5762208bba
commit b4f85daaf2
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ use http::{Status, uri::FromUriParam};
/// forms = 524288
/// ```
#[derive(Debug)]
pub struct Form<T>(crate T);
pub struct Form<T>(pub T);
impl<T> Form<T> {
/// Consumes `self` and returns the parsed value.