mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
fixup! Add ReportText::Code
This commit is contained in:
parent
3313ad05fa
commit
930f83a283
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue