From f3c155bf5bbbfb60979db9129a3cc8c6ed41dbbe Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Wed, 22 Sep 2021 16:20:43 +0200 Subject: [PATCH] Fix typo in `StreamBody` docs (#343) --- src/body/stream_body.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/body/stream_body.rs b/src/body/stream_body.rs index 17ddbd33..d60af154 100644 --- a/src/body/stream_body.rs +++ b/src/body/stream_body.rs @@ -17,7 +17,7 @@ use sync_wrapper::SyncWrapper; pin_project! { /// An [`http_body::Body`] created from a [`Stream`]. /// - /// If purpose of this type is to be used in responses. If you want to + /// The purpose of this type is to be used in responses. If you want to /// extract the request body as a stream consider using /// [`BodyStream`](crate::extract::BodyStream). ///