Skip to content

Commit

Permalink
Fix future-incompat
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Nov 11, 2023
1 parent 993b100 commit 86131d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamegraph/color/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub enum Palette {

impl Palette {
/// The valid set of palettes (via `FromStr`).
pub const VARIANTS: &[&'static str] = &[
pub const VARIANTS: &'static [&'static str] = &[
"aqua", "blue", "green", "hot", "io", "java", "js", "mem", "orange", "perl", "python",
"purple", "red", "rust", "wakeup", "yellow",
];
Expand Down

0 comments on commit 86131d4

Please sign in to comment.