Skip to content

Commit

Permalink
do not use struct field shorthands to support rustc 1.16.0 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
nrxus committed Apr 11, 2017
1 parent 4a98e09 commit 1907e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl2/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub fn init<'a, 'c>(flags: InitFlag,
}
Err(error)
} else {
Ok(Sdl2ImageContext { render_context })
Ok(Sdl2ImageContext { render_context: render_context })
}
}

Expand Down

0 comments on commit 1907e45

Please sign in to comment.