Merge pull request #1199 from daboross/patch-1

fix(client): remove config requirement for Connect
This commit is contained in:
Sean McArthur
2017-06-03 14:55:07 -07:00
committed by GitHub

View File

@@ -322,7 +322,7 @@ impl<C, B> Config<C, B> {
/// Set the `Connect` type to be used. /// Set the `Connect` type to be used.
#[inline] #[inline]
pub fn connector<CC: Connect>(self, val: CC) -> Config<CC, B> { pub fn connector<CC>(self, val: CC) -> Config<CC, B> {
Config { Config {
_body_type: self._body_type, _body_type: self._body_type,
//connect_timeout: self.connect_timeout, //connect_timeout: self.connect_timeout,