aboutsummaryrefslogtreecommitdiff
path: root/src/fexpr/mod.rs
diff options
context:
space:
mode:
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 5754d94..5610aba 100644
--- a/src/fexpr/mod.rs
+++ b/src/fexpr/mod.rs
@@ -46,9 +46,9 @@ pub enum FErrorKind {
}
/// Shortcut to create a new parser and parse the given input.
-pub fn parse_logfilter(
- input: &str,
-) -> Result<Box<dyn filters::log::LogFilter>, ParseError<usize, Token, FError>> {
+pub fn parse_logfilter<'a>(
+ input: &'a str,
+) -> Result<Box<dyn filters::log::LogFilter>, ParseError<usize, Token<'a>, FError>> {
grammar::LogFilterParser::new().parse(input)
}