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