Fix doc typo: "Contracting" -> "Constructing".

This commit is contained in:
Sergio Benitez 2021-06-08 23:12:38 -07:00
parent 128234d9a8
commit b19544c346
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ use crate::data::ByteUnit;
/// let errors_for_foo = errors.iter().filter(|e| e.is_for("foo.bar"));
/// ```
///
/// ## Contracting
/// ## Constructing
///
/// An `Errors` can be constructed from anything that an `Error` can be
/// constructed from. This includes [`Error`], [`ErrorKind`], and all of the
@ -72,7 +72,7 @@ pub struct Errors<'v>(Vec<Error<'v>>);
/// [`FromFormField`]: crate::form::FromFormField
/// [`validate`]: crate::form::validate
///
/// # Contracting
/// # Constructing
///
/// An `Error` can be constructed via [`Error::validation()`],
/// [`Error::custom()`], or anything that an [`ErrorKind`] can be constructed