diff options
author | 2023-11-12 03:43:40 +0100 | |
---|---|---|
committer | 2023-11-12 03:43:40 +0100 | |
commit | 817f72868746461891ca4e74473c555f3b5c5703 (patch) | |
tree | 7aaf36889e79f4148b8cf92d9f22afcd781a9436 /examples/modal/src | |
parent | 217cbce8a12024708f565718e2a9798caef0d26e (diff) | |
parent | f98627a317615151681ca8b324052eb4a170b789 (diff) | |
download | iced-817f72868746461891ca4e74473c555f3b5c5703.tar.gz iced-817f72868746461891ca4e74473c555f3b5c5703.tar.bz2 iced-817f72868746461891ca4e74473c555f3b5c5703.zip |
Merge pull request #2135 from iced-rs/ci/deny-warnings
Deny warnings in `test` workflow
Diffstat (limited to 'examples/modal/src')
-rw-r--r-- | examples/modal/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/modal/src/main.rs b/examples/modal/src/main.rs index b0e2c81b..3b69f5e6 100644 --- a/examples/modal/src/main.rs +++ b/examples/modal/src/main.rs @@ -205,7 +205,8 @@ enum Plan { } impl Plan { - pub const ALL: &[Self] = &[Self::Basic, Self::Pro, Self::Enterprise]; + pub const ALL: &'static [Self] = + &[Self::Basic, Self::Pro, Self::Enterprise]; } impl fmt::Display for Plan { |