Suppress a dumb clipply

This commit is contained in:
Peter Ammon
2025-03-02 12:13:03 -08:00
parent 86e531b848
commit 76923de6cf

View File

@@ -515,6 +515,7 @@ pub fn parse_color_maybe_none(var: &EnvVar, is_background: bool) -> RgbColor {
let mut color_name = WString::new();
for next in var.as_list() {
color_name.clear();
#[allow(clippy::collapsible_else_if)]
if is_background {
if color_name.is_empty() && next_is_background {
color_name = next.to_owned();