Skip to content

Commit

Permalink
Merge pull request #371 from hyperium/cleanup
Browse files Browse the repository at this point in the history
refactor(client): remove explicit Send implementations from Request/Resp...
  • Loading branch information
reem committed Mar 14, 2015
2 parents a2c6c4a + d28bae3 commit 932baac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/client/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ pub struct Request<W> {
_marker: PhantomData<W>,
}

//FIXME: remove once https://github.com/rust-lang/issues/22629 is fixed
unsafe impl<W> Send for Request<W> {}

impl<W> Request<W> {
/// Read the Request headers.
#[inline]
Expand Down
3 changes: 0 additions & 3 deletions src/client/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ pub struct Response<S = HttpStream> {
_marker: PhantomData<S>,
}

//FIXME: remove once https://github.com/rust-lang/issues/22629 is fixed
unsafe impl<S: Send> Send for Response<S> {}

impl Response {

/// Creates a new response from a server.
Expand Down

0 comments on commit 932baac

Please sign in to comment.