rm higher-ranked lifetimes from DocVisitor

This allows the visitor to borrow from the visitees.
This commit is contained in:
Lukas Markeffsky
2024-09-25 22:28:28 +02:00
parent b1745c3919
commit 4facc1ce41
8 changed files with 15 additions and 15 deletions

View File

@@ -187,7 +187,7 @@ impl<'a, 'b> CoverageCalculator<'a, 'b> {
}
}
impl<'a, 'b> DocVisitor for CoverageCalculator<'a, 'b> {
impl<'a, 'b> DocVisitor<'_> for CoverageCalculator<'a, 'b> {
fn visit_item(&mut self, i: &clean::Item) {
if !i.item_id.is_local() {
// non-local items are skipped because they can be out of the users control,