Update src/types/either.rs

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
Rob Ede 2020-11-15 17:28:46 +00:00
parent 5d9b0b29bc
commit 0c2ae60a2b
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ where
/// "polymorphic payloads" where, for example, a form might be JSON or URL encoded. /// "polymorphic payloads" where, for example, a form might be JSON or URL encoded.
/// ///
/// It is important to note that this extractor, by necessity, buffers the entire request payload /// It is important to note that this extractor, by necessity, buffers the entire request payload
/// as part of it's implementation. Though, it does respect a `PayloadConfig`'s maximum size limit. /// as part of its implementation. Though, it does respect a `PayloadConfig`'s maximum size limit.
impl<A, B> FromRequest for Either<A, B> impl<A, B> FromRequest for Either<A, B>
where where
A: FromRequest + 'static, A: FromRequest + 'static,