From 9128792e662b4a81bbdc06d562100629e04bd42e Mon Sep 17 00:00:00 2001 From: markxoe Date: Mon, 3 Jun 2024 21:32:14 +0200 Subject: [PATCH] wip: fix name --- src/commands/derive_db.rs | 2 +- src/data/parsers/links.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/derive_db.rs b/src/commands/derive_db.rs index 5c43b4e..0e1d9e8 100644 --- a/src/commands/derive_db.rs +++ b/src/commands/derive_db.rs @@ -87,7 +87,7 @@ fn derive_db_command(args: DeriveDbArgs) { .with_finish_message("Pages remapped"), ); - let links = links::read_and_parse_links2( + let links = links::read_and_parse_links( pagelinks_sql.as_str(), threads, &lookup, diff --git a/src/data/parsers/links.rs b/src/data/parsers/links.rs index 4ada6e4..4a6eecf 100644 --- a/src/data/parsers/links.rs +++ b/src/data/parsers/links.rs @@ -31,7 +31,7 @@ fn sync_parse_link_entry( out } -pub fn read_and_parse_links2( +pub fn read_and_parse_links( file: &str, threads: i32, resolver: &PageMap,