Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 20, 2020
1 parent d108bd5 commit 5e9cc4e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/librustdoc/passes/calculate_doc_coverage.rs
Expand Up @@ -143,11 +143,7 @@ impl CoverageCalculator {
) {
println!(
"| {:<35} | {:>10} | {:>9.1}% | {:>10} | {:>9.1}% |",
name,
count.with_docs,
percentage,
count.with_examples,
examples_percentage,
name, count.with_docs, percentage, count.with_examples, examples_percentage,
);
}

Expand Down Expand Up @@ -247,12 +243,7 @@ impl fold::DocFolder for CoverageCalculator {
| clean::ConstantItem(_)
);
find_testable_code(
&i.attrs
.doc_strings
.iter()
.map(|d| d.as_str())
.collect::<Vec<_>>()
.join("\n"),
&i.attrs.doc_strings.iter().map(|d| d.as_str()).collect::<Vec<_>>().join("\n"),
&mut tests,
ErrorCodes::No,
false,
Expand Down

0 comments on commit 5e9cc4e

Please sign in to comment.