Skip to content

Commit 079daf1

Browse files
Avoid linking to nowhere
1 parent 8e4d3e7 commit 079daf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/comparison.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,12 @@ impl BenchmarkComparison<'_> {
499499
let percent = self.relative_change() * 100.0;
500500
write!(
501501
summary,
502-
"{} {} in [instruction counts]({})",
502+
"{} {} in {}",
503503
size,
504504
self.direction(),
505505
match link {
506-
Some(l) => l,
507-
None => "",
506+
Some(l) => format!("[instruction counts]({})", l),
507+
None => "instruction counts".into(),
508508
}
509509
)
510510
.unwrap();

0 commit comments

Comments
 (0)