clippy fixes

This commit is contained in:
2026-08-25 13:14:19 +01:00
parent d4d220b18b
commit d7208f98cf
4 changed files with 12 additions and 16 deletions
+1 -5
View File
@@ -112,11 +112,7 @@ impl Scraper {
}
}
fn extract_new_links(
&self,
html: &str,
final_url: &Url,
) -> (usize, Vec<Url>) {
fn extract_new_links(&self, html: &str, final_url: &Url) -> (usize, Vec<Url>) {
let links = extract_links(html, final_url, &self.base_host, self.allow_subdomains);
let new_count = links.len();
let new_links: Vec<Url> = links