Skip to content

Commit

Permalink
fix(arc1): index mod should equal thread count
Browse files Browse the repository at this point in the history
  • Loading branch information
seeplusplus committed Aug 17, 2020
1 parent 2d38163 commit b4062ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/standard_library_types/arc1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}));
Expand Down

0 comments on commit b4062ef

Please sign in to comment.