Merge pull request #1199 from daboross/patch-1
fix(client): remove config requirement for Connect
This commit is contained in:
@@ -322,7 +322,7 @@ impl<C, B> Config<C, B> {
|
||||
|
||||
/// Set the `Connect` type to be used.
|
||||
#[inline]
|
||||
pub fn connector<CC: Connect>(self, val: CC) -> Config<CC, B> {
|
||||
pub fn connector<CC>(self, val: CC) -> Config<CC, B> {
|
||||
Config {
|
||||
_body_type: self._body_type,
|
||||
//connect_timeout: self.connect_timeout,
|
||||
|
||||
Reference in New Issue
Block a user