Skip to content

Commit

Permalink
Silence one specific clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Dec 21, 2024
1 parent 5153e68 commit 7386307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/file_response_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ impl FileResponseBuilder {
}
};

#[allow(clippy::comparison_chain)]
if ranges.len() == 1 {
let single_span = ranges[0];
res = res
Expand Down

0 comments on commit 7386307

Please sign in to comment.