We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe083d commit 6f47f13Copy full SHA for 6f47f13
portable/src/implementation/portable/algorithm_safe.rs
@@ -601,7 +601,7 @@ where
601
602
'outer: loop {
603
if only_ascii {
604
- while let Some(chunk) = chunks.next() {
+ for chunk in chunks.by_ref() {
605
let simd_input = SimdInput::new(chunk);
606
if !simd_input.is_ascii() {
607
algorithm.check_block(&simd_input);
@@ -616,7 +616,7 @@ where
616
idx += SIMD_CHUNK_SIZE;
617
}
618
} else {
619
620
621
if simd_input.is_ascii() {
622
algorithm.check_incomplete_pending();
0 commit comments