Skip to content

Commit

Permalink
Merge pull request image-rs#116 from scottmcm/master
Browse files Browse the repository at this point in the history
fix clippy::into_iter_on_array error in decoder
  • Loading branch information
fintelia authored Nov 23, 2019
2 parents ecdd4f4 + d3993ed commit c6166c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl<R: Read> Decoder<R> {
Marker::DQT => {
let tables = parse_dqt(&mut self.reader)?;

for (i, &table) in tables.into_iter().enumerate() {
for (i, &table) in tables.iter().enumerate() {
if let Some(table) = table {
let mut unzigzagged_table = [0u16; 64];

Expand Down

0 comments on commit c6166c9

Please sign in to comment.