From 3a39b571cd516ece97f2290bb004c647c4addfed Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Thu, 20 Jul 2023 11:09:55 +0200 Subject: [PATCH] Update lychee-lib/src/extract/html/srcset.rs Co-authored-by: Hugo McNally <45573837+HU90m@users.noreply.github.com> --- lychee-lib/src/extract/html/srcset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee-lib/src/extract/html/srcset.rs b/lychee-lib/src/extract/html/srcset.rs index 0f728ecc78..08a25cd015 100644 --- a/lychee-lib/src/extract/html/srcset.rs +++ b/lychee-lib/src/extract/html/srcset.rs @@ -57,7 +57,7 @@ pub(crate) fn parse(input: &str) -> Vec<&str> { info!("srcset parse Error"); return vec![]; } - index += start.char_indices().count(); + index += start.chars().count(); if remaining.is_empty() { return candidates;