aboutsummaryrefslogtreecommitdiff
path: root/src/fexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/fexpr')
-rw-r--r--src/fexpr/mod.rs6
1 files changed, 3 insertions, 3 deletions
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<Box<dyn filters::log::LogFilter>, ParseError<usize, Token<'a>, FError>> {
+pub fn parse_logfilter(
+ input: &str,
+) -> Result<Box<dyn filters::log::LogFilter>, ParseError<usize, Token<'_>, FError>> {
grammar::LogFilterParser::new().parse(input)
}