From c7956cf526a748dac88f6619488f6ee49ff53331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Mon, 2 Sep 2019 06:25:16 +0200 Subject: [PATCH] Remove `Default` constraint for checkbox `Color` --- src/widget/checkbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/checkbox.rs b/src/widget/checkbox.rs index a7561df1..b9a40a37 100644 --- a/src/widget/checkbox.rs +++ b/src/widget/checkbox.rs @@ -191,7 +191,7 @@ pub trait Renderer { impl<'a, Color, Message, Renderer> From> for Element<'a, Message, Renderer> where - Color: 'static + Copy + Default + std::fmt::Debug, + Color: 'static + Copy + std::fmt::Debug, Renderer: self::Renderer + text::Renderer, Message: 'static, {