summaryrefslogtreecommitdiffstats
path: root/examples/lazy/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lazy/src/main.rs')
-rw-r--r--examples/lazy/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lazy/src/main.rs b/examples/lazy/src/main.rs
index 627aba23..f24c0d62 100644
--- a/examples/lazy/src/main.rs
+++ b/examples/lazy/src/main.rs
@@ -173,7 +173,7 @@ impl App {
.style(button::danger);
row![
- text(&item.name).color(item.color),
+ text(item.name.clone()).color(item.color),
horizontal_space(),
pick_list(Color::ALL, Some(item.color), move |color| {
Message::ItemColorChanged(item.clone(), color)