Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Dec 12, 2023
1 parent 4f6e1a4 commit deb5c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct App;
impl Object for App {}

impl Handler<window::Resized> for App {
fn handle(&mut self, _handle: concoct::Context<Self>, msg: window::Resized) {
fn handle(&mut self, _cx: concoct::Context<Self>, msg: window::Resized) {
dbg!(msg);
}
}
Expand All @@ -43,6 +43,7 @@ fn main() {
let _guard = ui.enter();

let window = Window::default().spawn();

let app = App.spawn();
window.bind(&app);

Expand Down

0 comments on commit deb5c05

Please sign in to comment.