refactor: fix strict clippy warnings

This commit is contained in:
Jake Stanger
2023-04-10 20:04:59 +01:00
parent 3d308ab572
commit c214f65ecb
3 changed files with 9 additions and 20 deletions

View File

@@ -21,7 +21,7 @@ impl CustomWidget for BoxWidget {
if let Some(orientation) = self.orientation {
container.set_orientation(
try_get_orientation(&orientation).unwrap_or(Orientation::Horizontal),
)
);
}
if let Some(widgets) = self.widgets {