From 5836c7d87f26f004cc4433ffd2c6a2f97f67050b Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 10 Oct 2020 12:39:24 +0200 Subject: fix lints --- src/fexpr/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fexpr') diff --git a/src/fexpr/mod.rs b/src/fexpr/mod.rs index 5d12051..90242f2 100644 --- a/src/fexpr/mod.rs +++ b/src/fexpr/mod.rs @@ -55,9 +55,9 @@ pub enum FErrorKind { } /// Shortcut to create a new parser and parse the given input. -pub fn parse_logfilter<'a>( - input: &'a str, -) -> Result, ParseError, FError>> { +pub fn parse_logfilter( + input: &str, +) -> Result, ParseError, FError>> { grammar::LogFilterParser::new().parse(input) } -- cgit v1.2.3