diff --git a/README.md b/README.md index e0e9c93..a8ed570 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ struct App; impl Object for App {} impl Handler for App { - fn handle(&mut self, _handle: concoct::Context, msg: window::Resized) { + fn handle(&mut self, _cx: concoct::Context, msg: window::Resized) { dbg!(msg); } } @@ -43,6 +43,7 @@ fn main() { let _guard = ui.enter(); let window = Window::default().spawn(); + let app = App.spawn(); window.bind(&app);