fixup! Add ReportText::Code

This commit is contained in:
Richard Feldman 2020-04-03 00:47:44 -04:00
parent 3313ad05fa
commit 930f83a283

View file

@ -310,6 +310,12 @@ impl ReportText {
buf.push_str(&string);
buf.push('*');
}
Code(string) => {
// Since this is CI, the best we can do for code text is backticks.
buf.push('`');
buf.push_str(&string);
buf.push('`');
}
Url(url) => {
buf.push('<');
buf.push_str(&url);