From 033b35ce5a8f1965cc9cf1e037c1c3d86af23209 Mon Sep 17 00:00:00 2001 From: DavidOConnor Date: Sun, 30 Dec 2018 17:03:27 -0500 Subject: [PATCH] Updated for 0.2.0 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 69b7a64..d78a684 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib"] [dependencies] -seed = "^0.1.12" +seed = "^0.2.0" wasm-bindgen = "^0.2.29" web-sys = "^0.3.6" diff --git a/src/lib.rs b/src/lib.rs index 0d41707..18fc2ad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,7 +36,7 @@ fn update(msg: Msg, model: Model) -> Model { // View -fn view(app: seed::App, model: Model) -> El { +fn view(state: seed::App, model: Model) -> El { button![ simple_ev("click", Msg::Increment), format!("Hello, World × {}", model.val)