Rocket

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

commit 4921af459fef66368d541511c8c079bf2493be2c
parent fb1f7482eed0cab59531e710f09be362c32d79b2
Author: Chris Foster <cdbfoster@gmail.com>
Date:   Thu, 31 Jan 2019 00:27:56 -0500

Fix typo in 'LenientForm' docstring: 'gaurd' -> 'guard'.

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

diff --git a/core/lib/src/request/form/lenient.rs b/core/lib/src/request/form/lenient.rs @@ -4,7 +4,7 @@ use request::{Request, form::{Form, FormDataError, FromForm}}; use data::{Data, Transform, Transformed, FromData, Outcome}; use http::uri::{Query, FromUriParam}; -/// A data gaurd for parsing [`FromForm`] types leniently. +/// A data guard for parsing [`FromForm`] types leniently. /// /// This type implements the [`FromData`] trait, and like [`Form`], provides a /// generic means to parse arbitrary structures from incoming form data. Unlike