fix simple clippy lints

This commit is contained in:
klensy
2022-05-21 14:07:18 -04:00
parent b2eba058e6
commit 678059f7d0
21 changed files with 81 additions and 90 deletions

View File

@@ -265,7 +265,7 @@ impl<'a, 'b> DocVisitor for CoverageCalculator<'a, 'b> {
self.items.entry(filename).or_default().count_item(
has_docs,
has_doc_example,
should_have_doc_example(self.ctx, &i),
should_have_doc_example(self.ctx, i),
should_have_docs,
);
}