From 73863074e3fa813256915cd0126f7b2941221904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Sat, 21 Dec 2024 20:45:04 +0100 Subject: [PATCH] Silence one specific clippy warning --- src/util/file_response_builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/file_response_builder.rs b/src/util/file_response_builder.rs index f3cc006..1d9b348 100644 --- a/src/util/file_response_builder.rs +++ b/src/util/file_response_builder.rs @@ -204,6 +204,7 @@ impl FileResponseBuilder { } }; + #[allow(clippy::comparison_chain)] if ranges.len() == 1 { let single_span = ranges[0]; res = res