Skip to content

Commit

Permalink
fix(trace): add explicit lifetime in const (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jan 21, 2024
1 parent b5c6a73 commit cfa13d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ where
}

impl<W> AnsiEscapes<W> {
const ANSI_FG_COLOR_TABLE: [&str; 17] = [
const ANSI_FG_COLOR_TABLE: [&'static str; 17] = [
"30", // black
"31", // red
"32", // green
Expand Down

0 comments on commit cfa13d8

Please sign in to comment.