Skip to content

Commit 4de94f4

Browse files
goto-bus-stopseanmonstar
authored andcommitted
docs: minor fix to UnsyncBoxBody::new doc comment
It claimed `UnsyncBoxBody::new` creates a `BoxBody`. Not the end of the world, but still!
1 parent 69e80eb commit 4de94f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http-body-util/src/combinators/box_body.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ where
7171

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

0 commit comments

Comments
 (0)