Updated for v0.3.4 release

master
DavidOConnor 6 years ago
parent ad4c0d82e9
commit 3730eae19c

@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
seed = "^0.3.3"
seed = "^0.3.4"
wasm-bindgen = "^0.2.42"
web-sys = "^0.3.19"

@ -25,11 +25,10 @@ enum Msg {
Increment,
}
fn update(msg: Msg, model: &mut Model) -> Update<Msg> {
fn update(msg: Msg, model: &mut Model, _: &mut Orders<Msg>) {
match msg {
Msg::Increment => model.val += 1,
}
Render.into()
}

Loading…
Cancel
Save