Add missing 'static lifetimes to constant slices
This commit is contained in:
parent
93416cbebd
commit
f98627a317
4 changed files with 5 additions and 4 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue