From e2dc6b314703a83edc3e3f7f9f2770286e264c20 Mon Sep 17 00:00:00 2001 From: Spyros Roum Date: Fri, 25 Feb 2022 16:35:43 +0200 Subject: [PATCH] Remove outdated documentation (#793) Fixes: #792 --- axum/src/extract/request_parts.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/axum/src/extract/request_parts.rs b/axum/src/extract/request_parts.rs index 7994caf8..06980767 100644 --- a/axum/src/extract/request_parts.rs +++ b/axum/src/extract/request_parts.rs @@ -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