Remove `Default` constraint for checkbox `Color`
This commit is contained in:
parent
28009bc26d
commit
c7956cf526
|
@ -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,
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue