diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-06-21 13:58:21 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-06-21 13:58:21 +0200 |
commit | 2a6dce31eaa9efb505cc19b0fbdfe155132c4c07 (patch) | |
tree | a53f343e3761cd220037871fb38f33ced7383198 /askama_derive/src/parser.rs | |
parent | 7e06fa6999113c09db0e262759284b6cec5c9479 (diff) | |
download | askama-2a6dce31eaa9efb505cc19b0fbdfe155132c4c07.tar.gz askama-2a6dce31eaa9efb505cc19b0fbdfe155132c4c07.tar.bz2 askama-2a6dce31eaa9efb505cc19b0fbdfe155132c4c07.zip |
Clean up clippy suggestions
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) } |