This commit is contained in:
Daniel Collin 2020-09-16 08:40:27 +02:00
parent 2646964b9e
commit 8de1d5718d

View file

@ -50,9 +50,7 @@ fn main() {
}
// We unwrap here as we want this code to exit if it fails. Real applications may want to handle this in a different way
window
.update_with_buffer(&buffer, WIDTH, HEIGHT)
.unwrap();
window.update_with_buffer(&buffer, WIDTH, HEIGHT).unwrap();
let mut keys = keys_data.borrow_mut();