summaryrefslogtreecommitdiffstats
path: root/examples/scrollable
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 03:26:10 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 03:26:10 +0100
commitf04336dd5cf5e15bbcf48cd54b7e97c569c07a92 (patch)
treec482dcd89af0b46e446e4a3edf707ad9b24a08af /examples/scrollable
parent3517dece26e33a627cee8957e4ac3d60be3cfb76 (diff)
downloadiced-f04336dd5cf5e15bbcf48cd54b7e97c569c07a92.tar.gz
iced-f04336dd5cf5e15bbcf48cd54b7e97c569c07a92.tar.bz2
iced-f04336dd5cf5e15bbcf48cd54b7e97c569c07a92.zip
Remove unnecessary `clone` in `scrollable` example
Diffstat (limited to 'examples/scrollable')
-rw-r--r--examples/scrollable/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scrollable/src/main.rs b/examples/scrollable/src/main.rs
index 6eba34e2..7e1716cf 100644
--- a/examples/scrollable/src/main.rs
+++ b/examples/scrollable/src/main.rs
@@ -205,7 +205,7 @@ impl Application for ScrollableDemo {
}
fn theme(&self) -> Theme {
- self.theme.clone()
+ self.theme
}
}