diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-05-21 21:54:37 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-05-21 21:55:03 +0200 |
commit | e7c0d7ba16b561ba4377827218debcf710191aa3 (patch) | |
tree | 61936a4a79a825eb583fec978aa6f2e653824c68 /askama_shared/src | |
parent | e604cada8599f1dae07e32c9e17ebafe903ac7db (diff) | |
download | askama-e7c0d7ba16b561ba4377827218debcf710191aa3.tar.gz askama-e7c0d7ba16b561ba4377827218debcf710191aa3.tar.bz2 askama-e7c0d7ba16b561ba4377827218debcf710191aa3.zip |
Allow clippy reversed-empty-ranges for now
Pending https://github.com/rust-lang/rust-clippy/issues/5628.
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index b6404c5..b7a9851 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -124,6 +124,7 @@ where } } +#[allow(clippy::reversed_empty_ranges)] fn split_ws_parts(s: &[u8]) -> Node { if s.is_empty() { let rs = str::from_utf8(s).unwrap(); |