mirror of
https://github.com/tower-rs/tower.git
synced 2025-09-29 05:50:56 +00:00
util: Unecessary bound in ServiceExt::call_all (#651)
This commit is contained in:
parent
04f0bd0cc3
commit
d8c73fcb33
@ -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>,
|
||||
{
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user