From 3730eae19c8ea4c32d6b335dd196ac8524147249 Mon Sep 17 00:00:00 2001 From: DavidOConnor Date: Fri, 17 May 2019 08:05:21 -0400 Subject: [PATCH] Updated for v0.3.4 release --- Cargo.toml | 2 +- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e3c4e1b..96484e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/lib.rs b/src/lib.rs index 4b8d8ed..bddcc78 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,11 +25,10 @@ enum Msg { Increment, } -fn update(msg: Msg, model: &mut Model) -> Update { +fn update(msg: Msg, model: &mut Model, _: &mut Orders) { match msg { Msg::Increment => model.val += 1, } - Render.into() }