Fix redundant pattern matching

This commit is contained in:
Dr. Dystopia 2021-12-15 21:05:49 +01:00
parent e2f4499d45
commit 62f9bc5059

View File

@ -844,7 +844,7 @@ impl Controls {
}; };
// TODO: tooltips // TODO: tooltips
let (tool, species, body_type) = if let Some(_) = character_id { let (tool, species, body_type) = if character_id.is_some() {
(Column::new(), Column::new(), Row::new()) (Column::new(), Column::new(), Row::new())
} else { } else {
let (body_m_ico, body_f_ico) = match body.species { let (body_m_ico, body_f_ico) = match body.species {