From c1935a280e8b87de1be4aa2f7f6bff7b167b9611 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Thu, 2 May 2024 15:29:17 +0100 Subject: [PATCH] Fix implicit lifetime for Rust 1.78 --- layouts/src/matching.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/src/matching.rs b/layouts/src/matching.rs index 1087484..6ec4c05 100644 --- a/layouts/src/matching.rs +++ b/layouts/src/matching.rs @@ -73,7 +73,7 @@ where impl<'a, 'p, R, D, Q> Matching<'a, 'p, R, D, Q> where - R: Clone + PartialEq, + R: Clone + PartialEq + 'a, D: PatternMatchingDataset, Q: Clone + Iterator>, { @@ -97,7 +97,7 @@ where impl<'a, 'p, R, D, Q> Iterator for Matching<'a, 'p, R, D, Q> where - R: Clone + PartialEq, + R: Clone + PartialEq + 'a, D: PatternMatchingDataset, Q: Clone + Iterator>, {