diff options
| author | 2023-11-12 03:40:32 +0100 | |
|---|---|---|
| committer | 2023-11-12 03:40:32 +0100 | |
| commit | f98627a317615151681ca8b324052eb4a170b789 (patch) | |
| tree | 4785e31c80f4c82302c65fd0403e18a06ea2d0fb /examples/lazy | |
| parent | 93416cbebd1dad04d250bc39ee7db9482d1e5e72 (diff) | |
| download | iced-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.rs | 2 | 
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, | 
