chore: linting nursery

This commit is contained in:
Jack Wills
2022-08-04 13:01:16 +00:00
parent 1263662bd9
commit 1bd61d4ce8
8 changed files with 23 additions and 35 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ pub mod log_sanitizer {
}
/// Change from ansi to tui colors
fn color_ansi_to_tui(color: CansiColor) -> Color {
const fn color_ansi_to_tui(color: CansiColor) -> Color {
match color {
CansiColor::Black | CansiColor::BrightBlack => Color::Black,
CansiColor::Red => Color::Red,