Skip to content

Commit 54b031f

Browse files
committed
Oops, variable name
1 parent 8bbcaa6 commit 54b031f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/tear_ducts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn gen_tiers() -> anyhow::Result<HashMap<Tier, Vec<String>>> {
3939
fn collect_targets_for_tier(html: &VDom, tier: Tier) -> anyhow::Result<Vec<String>> {
4040
let mut targets = Vec::new();
4141

42-
for x in html
42+
for table_row in html
4343
.query_selector("tbody")
4444
.unwrap()
4545
.nth(match tier {
@@ -57,7 +57,7 @@ fn collect_targets_for_tier(html: &VDom, tier: Tier) -> anyhow::Result<Vec<Strin
5757
.top()
5858
.iter()
5959
{
60-
if let Some(table_row) = x.get(html.parser()).unwrap().as_tag() {
60+
if let Some(table_row) = table_row.get(html.parser()).unwrap().as_tag() {
6161
if table_row.name() != "tr" {
6262
continue;
6363
}

0 commit comments

Comments
 (0)