summaryrefslogtreecommitdiffstats
path: root/examples/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-12 03:40:32 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-12 03:40:32 +0100
commitf98627a317615151681ca8b324052eb4a170b789 (patch)
tree4785e31c80f4c82302c65fd0403e18a06ea2d0fb /examples/lazy
parent93416cbebd1dad04d250bc39ee7db9482d1e5e72 (diff)
downloadiced-f98627a317615151681ca8b324052eb4a170b789.tar.gz
iced-f98627a317615151681ca8b324052eb4a170b789.tar.bz2
iced-f98627a317615151681ca8b324052eb4a170b789.zip
Add missing `'static` lifetimes to constant slices
Diffstat (limited to 'examples/lazy')
-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 9bf17c56..01560598 100644
--- a/examples/lazy/src/main.rs
+++ b/examples/lazy/src/main.rs
@@ -46,7 +46,7 @@ enum Color {
}
impl Color {
- const ALL: &[Color] = &[
+ const ALL: &'static [Color] = &[
Color::Black,
Color::Red,
Color::Orange,