From ee396ceeb63be858c1850f4fd607b456f6b358b6 Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 12 Jan 2023 10:51:23 +0100 Subject: [PATCH] fix `implied_bounds_entailment` future compatibility lint --- src/ds/sequence.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ds/sequence.rs b/src/ds/sequence.rs index d9fe29d..d3bf5f0 100644 --- a/src/ds/sequence.rs +++ b/src/ds/sequence.rs @@ -133,7 +133,7 @@ where { type Output = Idx::Output; - fn index(&self, index: Idx) -> &'a Self::Output { + fn index(&self, index: Idx) -> &Self::Output { &self.chain[index] } }