summaryrefslogtreecommitdiff
path: root/src/test/fixtures/future.rs
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2025-02-21 22:18:56 -0500
committerKit La Touche <kit@transneptune.net>2025-02-21 22:53:49 -0500
commit9d1dbac74866a6175c65a25bbd8a3ccbe8cf87e4 (patch)
treef15b3f0695b948e335774aa4d92a5b064a1c0f10 /src/test/fixtures/future.rs
parent743b59b69857da81b214970ec9252bc918ad243d (diff)
parent36cadfe00cacc6a6523f9862d3f7a08a9d0ce611 (diff)
Merge branch 'main' into prop/preserve-state
Diffstat (limited to 'src/test/fixtures/future.rs')
-rw-r--r--src/test/fixtures/future.rs10
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,
{