Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Nov 9, 2018
1 parent 333807e commit 60ca4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mandelbrot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Mandelbrot {
.par_chunks(8)
.map(|ch| {
let mut result = 0;
ch.into_iter().enumerate().for_each(|(i, &count)| {
ch.iter().enumerate().for_each(|(i, &count)| {
let undiverged = count == ITER_LIMIT;
result |= (undiverged as u8) << (7 - i);
});
Expand Down

0 comments on commit 60ca4ef

Please sign in to comment.