summaryrefslogtreecommitdiffstats
path: root/examples/modal/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-11-12 03:43:40 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-12 03:43:40 +0100
commit817f72868746461891ca4e74473c555f3b5c5703 (patch)
tree7aaf36889e79f4148b8cf92d9f22afcd781a9436 /examples/modal/src
parent217cbce8a12024708f565718e2a9798caef0d26e (diff)
parentf98627a317615151681ca8b324052eb4a170b789 (diff)
downloadiced-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.rs3
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 {