aboutsummaryrefslogtreecommitdiff
path: root/src/fexpr/mod.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-10-10 12:39:24 +0200
committerDaniel <kingdread@gmx.de>2020-10-10 12:39:24 +0200
commit5836c7d87f26f004cc4433ffd2c6a2f97f67050b (patch)
treed8c5383358021a1e6b939c1f6da7ef231b666566 /src/fexpr/mod.rs
parent535f5bdbddb5faf784587242a54c94b77fc7405d (diff)
downloadraidgrep-5836c7d87f26f004cc4433ffd2c6a2f97f67050b.tar.gz
raidgrep-5836c7d87f26f004cc4433ffd2c6a2f97f67050b.tar.bz2
raidgrep-5836c7d87f26f004cc4433ffd2c6a2f97f67050b.zip
fix lints
Diffstat (limited to 'src/fexpr/mod.rs')
-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)
}