benchmark.rs: Don't use # in benchmark name

Using `Benchmark #1` causes github and gitlab to interrupt hyperfine
results as link to issue #1. Remove the # from the benchmark number to
play better with these systems.

Fixes #381.
This commit is contained in:
Nir Soffer authored and David Peter committed 2021-05-07 10:12:10 +02:00
1 parent 63c8dd15e1
commit 5348ab9ba3
1 file changed
+1 -1
+1 -1
View File
@@ -219,7 +219,7 @@ pub fn run_benchmark(
if options.output_style != OutputStyleOption::Disabled {
println!(
"{}{}: {}",
"Benchmark #".bold(),
"Benchmark ".bold(),
(num + 1).to_string().bold(),
&command_name
);