From e7c0d7ba16b561ba4377827218debcf710191aa3 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 21 May 2020 21:54:37 +0200 Subject: Allow clippy reversed-empty-ranges for now Pending https://github.com/rust-lang/rust-clippy/issues/5628. --- askama_shared/src/parser.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'askama_shared/src/parser.rs') 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(); -- cgit