Skip to content

Commit

Permalink
docs: minor fix to UnsyncBoxBody::new doc comment
Browse files Browse the repository at this point in the history
It claimed `UnsyncBoxBody::new` creates a `BoxBody`. Not the end of the world, but still!
  • Loading branch information
goto-bus-stop authored and seanmonstar committed Dec 12, 2024
1 parent 69e80eb commit 4de94f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-body-util/src/combinators/box_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ where

// === UnsyncBoxBody ===
impl<D, E> UnsyncBoxBody<D, E> {
/// Create a new `BoxBody`.
/// Create a new `UnsyncBoxBody`.
pub fn new<B>(body: B) -> Self
where
B: Body<Data = D, Error = E> + Send + 'static,
Expand Down

0 comments on commit 4de94f4

Please sign in to comment.