summaryrefslogtreecommitdiffstats
path: root/native/src/widget/checkbox.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-24 13:58:17 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-24 13:58:17 +0100
commit8059c40142d601588e01c152ce1bb72a1295dde8 (patch)
tree191cb7cc7807a5fe513b3d485b2fda21d3bf0bde /native/src/widget/checkbox.rs
parent700262e05c76e003158acfeb8edd9f6b026d78cf (diff)
downloadiced-8059c40142d601588e01c152ce1bb72a1295dde8.tar.gz
iced-8059c40142d601588e01c152ce1bb72a1295dde8.tar.bz2
iced-8059c40142d601588e01c152ce1bb72a1295dde8.zip
Fix `clippy` lints
Diffstat (limited to 'native/src/widget/checkbox.rs')
-rw-r--r--native/src/widget/checkbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs
index 6ba06d3b..cd8b9c6b 100644
--- a/native/src/widget/checkbox.rs
+++ b/native/src/widget/checkbox.rs
@@ -272,7 +272,7 @@ where
if self.is_checked {
renderer.fill_text(text::Text {
content: &code_point.to_string(),
- font: font.clone(),
+ font: *font,
size,
bounds: Rectangle {
x: bounds.center_x(),