Skip to content

Commit fbf7c03

Browse files
committed
Update to Rust master
1 parent 8e7d72a commit fbf7c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/http/body.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::io::{BufReader,IoResult,Reader};
22

33
pub enum Body<'a> {
44
FixedBody(BufReader<'a>, uint),
5-
ChunkedBody(&'a mut Reader)
5+
ChunkedBody(&'a mut Reader + Send)
66
}
77

88
impl<'a> Body<'a> {
@@ -44,7 +44,7 @@ impl<'a> ToBody<'a> for &'a String {
4444
}
4545

4646
// TODO: https://github.com/rust-lang/rust/issues/14901
47-
impl<'a> ToBody<'a> for &'a mut Reader {
47+
impl<'a> ToBody<'a> for &'a mut Reader + Send {
4848
fn to_body(self) -> Body<'a> {
4949
ChunkedBody(self)
5050
}

0 commit comments

Comments
 (0)