diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index 322b2b94..b0adc8e8 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -180,14 +180,14 @@ mod tests { fn it_showcases_every_theme() -> Result<(), Error> { Theme::ALL .par_iter() + .cloned() .map(|theme| { let mut styling = Styling::default(); - styling.update(Message::ThemeChanged(theme.clone())); + styling.update(Message::ThemeChanged(theme)); let theme = styling.theme(); let mut ui = simulator(styling.view()); - let snapshot = ui.snapshot(&theme)?; assert!(