mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-03 18:42:28 +01:00
cargo fmt
This commit is contained in:
@@ -30,7 +30,7 @@ pub fn to_ansi_color(color: highlighting::Color, true_color: bool) -> ansi_term:
|
||||
0x0d => Color::Purple,
|
||||
0x0e => Color::Cyan,
|
||||
0x0f => Color::White,
|
||||
_ => unreachable!("The 0x0f color encoding does not allow for codes higher than 0x0f")
|
||||
_ => unreachable!("The 0x0f color encoding does not allow for codes higher than 0x0f"),
|
||||
}
|
||||
} else if true_color {
|
||||
RGB(color.r, color.g, color.b)
|
||||
|
Reference in New Issue
Block a user