diff options
Diffstat (limited to 'examples/lazy/src/main.rs')
-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, |