Skip to content

Commit

Permalink
util: Unecessary bound in ServiceExt::call_all (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoyvens authored Mar 10, 2022
1 parent 04f0bd0 commit d8c73fc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion tower/src/util/call_all/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ pub(crate) trait Drive<F: Future> {
impl<Svc, S, Q> CallAll<Svc, S, Q>
where
Svc: Service<S::Item>,
Svc::Error: Into<crate::BoxError>,
S: Stream,
Q: Drive<Svc::Future>,
{
Expand Down
1 change: 0 additions & 1 deletion tower/src/util/call_all/ordered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ pin_project! {
impl<Svc, S> CallAll<Svc, S>
where
Svc: Service<S::Item>,
Svc::Error: Into<crate::BoxError>,
S: Stream,
{
/// Create new [`CallAll`] combinator.
Expand Down
1 change: 0 additions & 1 deletion tower/src/util/call_all/unordered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ pin_project! {
impl<Svc, S> CallAllUnordered<Svc, S>
where
Svc: Service<S::Item>,
Svc::Error: Into<crate::BoxError>,
S: Stream,
{
/// Create new [`CallAllUnordered`] combinator.
Expand Down
1 change: 0 additions & 1 deletion tower/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ pub trait ServiceExt<Request>: tower_service::Service<Request> {
fn call_all<S>(self, reqs: S) -> CallAll<Self, S>
where
Self: Sized,
Self::Error: Into<crate::BoxError>,
S: futures_core::Stream<Item = Request>,
{
CallAll::new(self, reqs)
Expand Down

0 comments on commit d8c73fc

Please sign in to comment.