From 7ca1fb077f48f069080ea1149b307d8a0d2a8ea5 Mon Sep 17 00:00:00 2001 From: Andrei Zisu Date: Thu, 20 Jun 2024 23:14:37 +0300 Subject: [PATCH] Remove superfluous lifetimes to get clippy happy --- crates/lox-io/src/ndm/kvn/deserializer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/lox-io/src/ndm/kvn/deserializer.rs b/crates/lox-io/src/ndm/kvn/deserializer.rs index b407f65c..2268be88 100644 --- a/crates/lox-io/src/ndm/kvn/deserializer.rs +++ b/crates/lox-io/src/ndm/kvn/deserializer.rs @@ -15,7 +15,7 @@ pub trait KvnDeserializer { where Self: Sized; - fn from_kvn_str<'a>(kvn: &'a str) -> Result> + fn from_kvn_str(kvn: &str) -> Result> where Self: Sized, {