refactor(client): remove explicit Send implementations from Request/Response
This commit is contained in:
		| @@ -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] | ||||
|   | ||||
| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user