From 036a567bae8346eb38f9237f59645dbcc4f1cd8c Mon Sep 17 00:00:00 2001 From: jelemux Date: Tue, 9 Feb 2021 23:18:45 +0100 Subject: switch to cargo-make; format files with rustfmt --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 401e996..b8e10a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,10 @@ -#![recursion_limit="1024"] -extern crate wee_alloc; +#![recursion_limit = "1024"] extern crate console_error_panic_hook; -use wasm_bindgen::prelude::*; -use yew::prelude::App; +extern crate wee_alloc; use std::panic; use view::main::MainView; +use wasm_bindgen::prelude::*; +use yew::prelude::App; // Use `wee_alloc` as the global allocator. #[global_allocator] @@ -21,4 +21,4 @@ fn init() { pub fn run_app() { init(); App::::new().mount_to_body(); -} \ No newline at end of file +} -- cgit v1.2.3