From 4921af459fef66368d541511c8c079bf2493be2c Mon Sep 17 00:00:00 2001 From: Chris Foster Date: Thu, 31 Jan 2019 00:27:56 -0500 Subject: [PATCH] Fix typo in 'LenientForm' docstring: 'gaurd' -> 'guard'. --- core/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 index 66233449..87697e51 100644 --- 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