Fix clippy lints for Rust 1.66
This commit is contained in:
parent
e0c728c62c
commit
6bb01b7276
10 changed files with 28 additions and 40 deletions
|
|
@ -265,8 +265,8 @@ where
|
|||
theme.active(&self.style, self.is_active)
|
||||
};
|
||||
|
||||
let border_radius = bounds.height as f32 / BORDER_RADIUS_RATIO;
|
||||
let space = SPACE_RATIO * bounds.height as f32;
|
||||
let border_radius = bounds.height / BORDER_RADIUS_RATIO;
|
||||
let space = SPACE_RATIO * bounds.height;
|
||||
|
||||
let toggler_background_bounds = Rectangle {
|
||||
x: bounds.x + space,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue