diff options
Diffstat (limited to 'askama_derive/src/parser.rs')
-rw-r--r-- | askama_derive/src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs index 0538ab7..fb591d4 100644 --- a/askama_derive/src/parser.rs +++ b/askama_derive/src/parser.rs @@ -73,7 +73,7 @@ pub type When<'a> = (WS, Option<MatchVariant<'a>>, Vec<MatchParameter<'a>>, Vec< type Input<'a> = nom::types::CompleteByteSlice<'a>; #[allow(non_snake_case)] -fn Input<'a>(input: &'a [u8]) -> Input<'a> { +fn Input(input: &[u8]) -> Input { nom::types::CompleteByteSlice(input) } |