Remove `Default` constraint for checkbox `Color`

This commit is contained in:
Héctor Ramón Jiménez 2019-09-02 06:25:16 +02:00
parent 28009bc26d
commit c7956cf526
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ pub trait Renderer {
impl<'a, Color, Message, Renderer> From<Checkbox<Color, Message>>
for Element<'a, Message, Renderer>
where
Color: 'static + Copy + Default + std::fmt::Debug,
Color: 'static + Copy + std::fmt::Debug,
Renderer: self::Renderer + text::Renderer<Color>,
Message: 'static,
{