From 79fed3d69552011a0a5c2585892bb685e7657ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sun, 29 Mar 2020 15:21:18 +0200 Subject: [PATCH] Remove unnecessary conversion in `iced_wgpu` --- wgpu/src/renderer/widget/text_input.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wgpu/src/renderer/widget/text_input.rs b/wgpu/src/renderer/widget/text_input.rs index 170ac3c5..9093b0c6 100644 --- a/wgpu/src/renderer/widget/text_input.rs +++ b/wgpu/src/renderer/widget/text_input.rs @@ -106,8 +106,7 @@ impl text_input::Renderer for Renderer { style_sheet.placeholder_color() } else { style_sheet.value_color() - } - .into(), + }, font, bounds: Rectangle { width: f32::INFINITY,