From 90caff2c939b8b539291f49280cea648e787ab76 Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Mon, 5 Aug 2024 01:46:18 -0700 Subject: [PATCH] fix: Revert accidental use of iso variable rather than "iso" string slice --- src/linux/independent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/independent.rs b/src/linux/independent.rs index c05dea7..f856dc6 100644 --- a/src/linux/independent.rs +++ b/src/linux/independent.rs @@ -283,7 +283,7 @@ impl Distro for Gentoo { async move { let checksum = capture_page(&checksum_url).await.and_then(|cs| { cs.lines() - .find(|l| l.contains(iso)) + .find(|l| l.contains("iso")) .and_then(|l| l.split_whitespace().next().map(ToString::to_string)) });