Skip to content

Commit 8eeb742

Browse files
committed
misc: Format code
1 parent 9e01547 commit 8eeb742

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/colorize.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ where
7878
if op == " " && subvalue.is_none() {
7979
output(" ", &format!("{subindent}..."));
8080
} else {
81-
assert!(
82-
([" ", "-", "+", "~"].contains(&op)),
83-
"Unexpected op '{op}'"
84-
);
81+
assert!(([" ", "-", "+", "~"].contains(&op)), "Unexpected op '{op}'");
8582
let subvalue = subvalue.unwrap();
8683
let color = if op == "~" { " " } else { op };
8784
subcolorize(None, subvalue, output, color, subindent);

0 commit comments

Comments
 (0)