Merge pull request #371 from hyperium/cleanup

refactor(client): remove explicit Send implementations from Request/Resp...
This commit is contained in:
Jonathan Reem
2015-03-13 22:47:46 -07:00
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.