diff options
Diffstat (limited to 'src/test/fixtures/future.rs')
| -rw-r--r-- | src/test/fixtures/future.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/fixtures/future.rs b/src/test/fixtures/future.rs index 2f810a3..c0fa528 100644 --- a/src/test/fixtures/future.rs +++ b/src/test/fixtures/future.rs @@ -52,7 +52,7 @@ pub trait Expect: Sized { Self: Future<Output = Option<T>>; } -impl<'a, St> Expect for stream::Next<'a, St> { +impl<St> Expect for stream::Next<'_, St> { fn expect_ready(self, message: &str) -> Ready<Self> { Ready { future: self, @@ -131,7 +131,7 @@ pub struct Ready<'m, F> { message: &'m str, } -impl<'m, F> Future for Ready<'m, F> +impl<F> Future for Ready<'_, F> where F: Future + std::fmt::Debug, { @@ -155,7 +155,7 @@ pub struct Wait<'m, F> { message: &'m str, } -impl<'m, F> Future for Wait<'m, F> +impl<F> Future for Wait<'_, F> where F: Future + std::fmt::Debug, { @@ -179,7 +179,7 @@ pub struct Some<'m, F> { message: &'m str, } -impl<'m, F, T> Future for Some<'m, F> +impl<F, T> Future for Some<'_, F> where F: Future<Output = Option<T>> + std::fmt::Debug, { @@ -203,7 +203,7 @@ pub struct None<'m, F> { message: &'m str, } -impl<'m, F, T> Future for None<'m, F> +impl<F, T> Future for None<'_, F> where F: Future<Output = Option<T>> + std::fmt::Debug, { |
