You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove extra generic from with_http_client (#1307)
* Remove extra generic from with_http_client
This generic type parameter is not being used anywhere, so when you try to use `with_http_client`, it requires you to specify a dummy type that implements `HttpClient + 'static`.
So this does not work:
```rust
new_pipeline().with_http_client(Arc::new(client))
```
But these work, even though they don't necessarily match the actual type of `client`:
```rust
new_pipeline::<Arc<dyn HttpClient>>().with_http_client(Arc::new(client))
new_pipeline::<reqwest::Client>().with_http_client(Arc::new(client))
```
* Add test and CHANGELOG entry
0 commit comments