Remove Message: Clone bound in some web widgets

This commit is contained in:
Héctor Ramón Jiménez 2020-01-13 06:58:48 +01:00
parent b5cd9923f2
commit 361be7f6b7
5 changed files with 21 additions and 11 deletions

View file

@ -134,7 +134,7 @@ where
impl<'a, Message> From<Scrollable<'a, Message>> for Element<'a, Message>
where
Message: 'static + Clone,
Message: 'static,
{
fn from(scrollable: Scrollable<'a, Message>) -> Element<'a, Message> {
Element::new(scrollable)