summaryrefslogtreecommitdiffstats
path: root/examples/toast/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/toast/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/toast/src')
-rw-r--r--examples/toast/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs
index 20c3dd42..5b089e8a 100644
--- a/examples/toast/src/main.rs
+++ b/examples/toast/src/main.rs
@@ -210,7 +210,7 @@ mod toast {
}
impl Status {
- pub const ALL: &[Self] =
+ pub const ALL: &'static [Self] =
&[Self::Primary, Self::Secondary, Self::Success, Self::Danger];
}