summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2021-02-09 23:18:45 +0100
committerjelemux <jeremias.weber@protonmail.com>2021-02-09 23:18:45 +0100
commit036a567bae8346eb38f9237f59645dbcc4f1cd8c (patch)
tree21a86e3c5cb8964030c414718190af12f3d26125 /src/lib.rs
parent9df3ff8d633a18e934d4e62b0e2e718620760552 (diff)
downloadwasm-card-036a567bae8346eb38f9237f59645dbcc4f1cd8c.tar.gz
wasm-card-036a567bae8346eb38f9237f59645dbcc4f1cd8c.tar.bz2
switch to cargo-make; format files with rustfmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs10
1 files changed, 5 insertions, 5 deletions
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::<MainView>::new().mount_to_body();
-} \ No newline at end of file
+}