From fae38a6ce1f695938730fb92455c6f3b4e7211b3 Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Sat, 16 Nov 2024 17:39:05 +0100 Subject: [PATCH] lint: elide lifetime --- rustemo/src/glr/gss.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustemo/src/glr/gss.rs b/rustemo/src/glr/gss.rs index 30a3a14..e36a578 100644 --- a/rustemo/src/glr/gss.rs +++ b/rustemo/src/glr/gss.rs @@ -409,7 +409,7 @@ where fn set_layout_ahead(&mut self, _layout: Option<&'i I>) {} } -impl<'i, I, P, TK> Default for SPPFTree<'i, I, P, TK> +impl Default for SPPFTree<'_, I, P, TK> where I: Input + ?Sized, TK: Copy,