Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit b4f85daaf248e989f22a78a3ec787759674df9d2
parent 5762208bbacf873d2512e64603e66492bd3adb63
Author: Rukai <rubickent@gmail.com>
Date:   Sat,  3 Nov 2018 11:07:23 +1100

Make inner 'Form' field public.

Diffstat:
Mcore/lib/src/request/form/form.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/src/request/form/form.rs b/core/lib/src/request/form/form.rs @@ -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.