mirror of https://github.com/rwf2/Rocket.git
Make inner 'Form' field public.
This commit is contained in:
parent
5762208bba
commit
b4f85daaf2
|
@ -111,7 +111,7 @@ use http::{Status, uri::FromUriParam};
|
||||||
/// forms = 524288
|
/// forms = 524288
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Form<T>(crate T);
|
pub struct Form<T>(pub T);
|
||||||
|
|
||||||
impl<T> Form<T> {
|
impl<T> Form<T> {
|
||||||
/// Consumes `self` and returns the parsed value.
|
/// Consumes `self` and returns the parsed value.
|
||||||
|
|
Loading…
Reference in New Issue