mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update Rust nightly to 1.19.0-nightly (2416e222e 2017-06-09)
This commit is contained in:
parent
2439672983
commit
4c8a0f0626
6 changed files with 9 additions and 16 deletions
|
@ -42,7 +42,7 @@ pub struct ImageMetadata {
|
|||
fn byte_swap_and_premultiply(data: &mut [u8]) {
|
||||
let length = data.len();
|
||||
|
||||
for i in (0..length).step_by(4) {
|
||||
for i in Iterator::step_by(0..length, 4) {
|
||||
let r = data[i + 2];
|
||||
let g = data[i + 1];
|
||||
let b = data[i + 0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue