mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Add backticks around benchmark command to render as code
This commit is contained in:
1 parent
8b933dc64d
commit
5602c17bef
1 file changed
+1
-1
@@ -27,7 +27,7 @@ fn start_table() -> Vec<u8> {
|
||||
fn add_table_row(dest: &mut Vec<u8>, entry: &ExportEntry) {
|
||||
dest.extend(
|
||||
format!(
|
||||
"| {} | {:.1} ± {:.1} | {:.1} | {:.1} |\n",
|
||||
"| `{}` | {:.1} ± {:.1} | {:.1} | {:.1} |\n",
|
||||
entry.command.replace("|", "\\|"),
|
||||
entry.mean * MULTIPLIER,
|
||||
entry.stddev * MULTIPLIER,
|
||||
|
||||
Reference in new issue
Block a user