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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue