Fix minimal-fltk example release builds with Rust 1.56.0 (#216)

- See https://github.com/rust-lang/rust/issues/88576
This commit is contained in:
Jay Oster 2021-10-21 16:15:47 -07:00 committed by GitHub
parent 2c98dc3f33
commit efeec7f727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,9 @@ struct World {
} }
fn main() -> Result<(), Error> { fn main() -> Result<(), Error> {
#[cfg(debug_assertions)]
env_logger::init(); env_logger::init();
let app = app::App::default(); let app = app::App::default();
let mut win = Window::default() let mut win = Window::default()
.with_size(WIDTH as i32, HEIGHT as i32) .with_size(WIDTH as i32, HEIGHT as i32)