refactor(client): remove explicit Send implementations from Request/Response

This commit is contained in:
Sean McArthur
2015-03-13 19:54:34 -07:00
parent a2c6c4a25e
commit d28bae3c91
2 changed files with 0 additions and 6 deletions

View File

@@ -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]

View File

@@ -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.