From 901d3c60530a3a0d77aeb00394eec3b249a9967c Mon Sep 17 00:00:00 2001 From: David O'Connor Date: Mon, 9 Dec 2019 17:51:19 -0500 Subject: [PATCH] Update import syntax --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 00a5e3f..4c36ede 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ -#[macro_use] -extern crate seed; -use seed::prelude::*; +use seed::{*, prelude::*}; // Model @@ -43,6 +41,6 @@ fn view(model: &Model) -> impl View { #[wasm_bindgen(start)] pub fn render() { - seed::App::builder(update, view) + App::builder(update, view) .build_and_start(); } \ No newline at end of file