Rename new_user_event method to with_user_event (#1057) (#1068)

Finishes #1057
This commit is contained in:
Brian Kabiro 2019-07-29 17:58:16 +03:00 committed by Hal Gentz
parent e5ba79db04
commit 131e67ddc1
3 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@ use winit::{
};
fn main() {
let event_loop: EventLoop<i32> = EventLoop::new_user_event();
let event_loop: EventLoop<i32> = EventLoop::with_user_event();
let _window = WindowBuilder::new()
.with_title("A fantastic window!")