mirror of https://github.com/fafhrd91/actix-web
Update src/types/either.rs
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
parent
5d9b0b29bc
commit
0c2ae60a2b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue