fix clippy::into_iter_on_array error in decoder#116
fix clippy::into_iter_on_array error in decoder#116fintelia merged 2 commits intoimage-rs:masterfrom
Conversation
|
CI failure doesn't look like the fault of this change:
|
|
Looks like rayon isn't actually compatible with 1.28 anymore (due to some indirect dependency on the latest cfg-if). |
|
Maybe |
|
Nah, you don't commit Cargo.lock for libraries. Then CI would pass but it would still fail to build on 1.28 for everyone depending on this crate. One solution is to depend on cfg-if =0.1.9, but that's probably just causing even more problems, so 1.28 should probably just be dropped. |
|
@fintelia Do you think this fix can be released with a minor version bump (i.e. 0.1.17)? That would be really great, as |
|
@LukasKalbertodt 0.1.17 has now been published. |
fix clippy::into_iter_on_array error in decoder
Rust is trying to add
IntoIteratorfor arrays, which would break this. So might as well do it the way that's forward-compatible and also shorter.