summaryrefslogtreecommitdiffstats
path: root/wgpu/src/renderer
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-29 15:20:44 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-29 15:20:44 +0200
commit8b49968cabe46c4255a101105748394d55bc23a9 (patch)
treee8a7f19b76a4a9d1d6dcdd321017cf819223f484 /wgpu/src/renderer
parent49bcebb1e5de9957bd0a9d7274371e3550569fa8 (diff)
downloadiced-8b49968cabe46c4255a101105748394d55bc23a9.tar.gz
iced-8b49968cabe46c4255a101105748394d55bc23a9.tar.bz2
iced-8b49968cabe46c4255a101105748394d55bc23a9.zip
Remove redundant field assignment
Diffstat (limited to 'wgpu/src/renderer')
-rw-r--r--wgpu/src/renderer/widget/checkbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/renderer/widget/checkbox.rs b/wgpu/src/renderer/widget/checkbox.rs
index 1a0585d3..ecacf1de 100644
--- a/wgpu/src/renderer/widget/checkbox.rs
+++ b/wgpu/src/renderer/widget/checkbox.rs
@@ -38,7 +38,7 @@ impl checkbox::Renderer for Renderer {
content: crate::text::CHECKMARK_ICON.to_string(),
font: crate::text::BUILTIN_ICONS,
size: bounds.height * 0.7,
- bounds: bounds,
+ bounds,
color: style.checkmark_color,
horizontal_alignment: HorizontalAlignment::Center,
vertical_alignment: VerticalAlignment::Center,