Remove outdated documentation (#793)

Fixes: #792
This commit is contained in:
Spyros Roum 2022-02-25 16:35:43 +02:00 committed by GitHub
parent cb168b96fe
commit e2dc6b3147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,11 +103,6 @@ where
/// Extractor that extracts the request body as a [`Stream`].
///
/// Note if your request body is [`body::Body`] you can extract that directly
/// and since it already implements [`Stream`] you don't need this type. The
/// purpose of this type is to extract other types of request bodies as a
/// [`Stream`].
///
/// # Example
///
/// ```rust,no_run
@ -176,9 +171,6 @@ fn body_stream_traits() {
/// Extractor that extracts the raw request body.
///
/// Note that [`body::Body`] can be extracted directly. This purpose of this
/// type is to extract other types of request bodies.
///
/// # Example
///
/// ```rust,no_run