We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f758167 commit 1236e11Copy full SHA for 1236e11
_guides/server/echo.md
@@ -172,7 +172,8 @@ We want to collect the entire request body and map the result into our `reverse`
172
function, then return the eventual result. If we import the `http_body_util::BodyExt`
173
extension trait, we can call the `collect` method on our body, which will drive the
174
stream to completion, collecting all the data and trailer frames into a `Collected` type.
175
-We can easily turn the `Collected` body into bytes by calling its `into_bytes` method.
+We can easily turn the `Collected` body into a single `Bytes` by calling its `into_bytes`
176
+method.
177
178
```rust
179
# use bytes::Bytes;
0 commit comments