Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Apr 22, 2020
1 parent 9e622a1 commit 0064321
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/syntax_mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ impl<'a> SyntaxMapping<'a> {
.insert("**/.ssh/config", MappingTarget::MapTo("SSH Config"))
.unwrap();
mapping
.insert("**/bat/config", MappingTarget::MapTo("Bourne Again Shell (bash)"))
.insert(
"**/bat/config",
MappingTarget::MapTo("Bourne Again Shell (bash)"),
)
.unwrap();
mapping
.insert(
Expand Down
2 changes: 1 addition & 1 deletion src/terminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0064321

Please sign in to comment.