diff options
Diffstat (limited to 'cli/tools/coverage/reporter.rs')
-rw-r--r-- | cli/tools/coverage/reporter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/coverage/reporter.rs b/cli/tools/coverage/reporter.rs index 6547f2036..f359755a9 100644 --- a/cli/tools/coverage/reporter.rs +++ b/cli/tools/coverage/reporter.rs @@ -633,7 +633,7 @@ impl HtmlCoverageReporter { ) -> String { let line_num = file_text.lines().count(); let line_count = (1..line_num + 1) - .map(|i| format!("<a name='L{i}'></a><a href='#{i}'>{i}</a>")) + .map(|i| format!("<a name='L{i}'></a><a href='#L{i}'>{i}</a>")) .collect::<Vec<_>>() .join("\n"); let line_coverage = (0..line_num) |