summaryrefslogtreecommitdiffstats
path: root/widget/src/rule.rs
diff options
context:
space:
mode:
authorLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
committerLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
commit1234d528121265698f9f426ca89fc687dc95dc01 (patch)
tree6e33acf061bdb57c6f27724e4fba339660903081 /widget/src/rule.rs
parent1c86defab5f5491b5f6b6e45faabf1b91ed195a3 (diff)
downloadiced-1234d528121265698f9f426ca89fc687dc95dc01.tar.gz
iced-1234d528121265698f9f426ca89fc687dc95dc01.tar.bz2
iced-1234d528121265698f9f426ca89fc687dc95dc01.zip
clippy
Diffstat (limited to '')
-rw-r--r--widget/src/rule.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/rule.rs b/widget/src/rule.rs
index 3749d7ce..272bd2b3 100644
--- a/widget/src/rule.rs
+++ b/widget/src/rule.rs
@@ -125,7 +125,7 @@ where
renderer.fill_quad(
renderer::Quad {
bounds,
- border_radius: style.radius.into(),
+ border_radius: style.radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
},