fix clippy

This commit is contained in:
KOKI 2022-05-30 16:45:16 +09:00
parent fffdaebe8b
commit dc47f7dc33

View File

@ -624,6 +624,7 @@ where
color_from_hex("#222222").unwrap() color_from_hex("#222222").unwrap()
} }
} else { } else {
#[allow(clippy::collapsible_else_if)]
if dark_mode { if dark_mode {
color_from_hex("#aaaaaa").unwrap() color_from_hex("#aaaaaa").unwrap()
} else { } else {