Skip to content

Commit 24a877d

Browse files
committed
Add missing Send bound
1 parent 6d0aee7 commit 24a877d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ where
791791

792792
/// Object safe body trait
793793
#[async_trait]
794-
pub trait BytesBody {
794+
pub trait BytesBody: Send {
795795
/// Convert the body into [`Bytes`]
796796
///
797797
/// This consumes the body. The behavior for calling this method multiple times is undefined.

0 commit comments

Comments
 (0)