Skip to content

Commit c08f8e8

Browse files
committed
Do not apply the report kind's colour to its colon
For consistency with other crates, and `Note` and `Help`.
1 parent 7d49921 commit c08f8e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/write.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ impl<S: Span> Report<'_, S> {
175175
let kind_color = self.kind.color(&self.config);
176176
writeln!(
177177
w,
178-
"{} {}",
179-
format_args!("{}{}:", Show(code), self.kind).fg(kind_color, s),
178+
"{}: {}",
179+
format_args!("{}{}", Show(code), self.kind).fg(kind_color, s),
180180
Show(self.msg.as_ref())
181181
)?;
182182

0 commit comments

Comments
 (0)