1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-15 01:24:27 +02:00

Merge pull request #498 from seeplusplus/main

fix(arc1): index mod should equal thread count
This commit is contained in:
fmoko
2020-08-17 12:48:41 +02:00
committed by GitHub

View File

@ -21,7 +21,7 @@ fn main() {
let mut sum = 0;
while i < child_numbers.len() {
sum += child_numbers[i];
i += 5;
i += 8;
}
println!("Sum of offset {} is {}", offset, sum);
}));