From 26509b50e7ccf1b7668f2062f4b7399897b73225 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 25 Aug 2018 18:29:39 -0400 Subject: [PATCH] Fix an indentation issue --- electron_percy_wasm/src/lib.rs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/electron_percy_wasm/src/lib.rs b/electron_percy_wasm/src/lib.rs index 41e6f6e..b500e69 100644 --- a/electron_percy_wasm/src/lib.rs +++ b/electron_percy_wasm/src/lib.rs @@ -1,20 +1,20 @@ - #[macro_use] - extern crate virtual_dom_rs; +#[macro_use] +extern crate virtual_dom_rs; - extern crate percy_webapis; - extern crate wasm_bindgen; +extern crate percy_webapis; +extern crate wasm_bindgen; - use percy_webapis::log; - use percy_webapis::Element; - use wasm_bindgen::prelude::*; +use percy_webapis::log; +use percy_webapis::Element; +use wasm_bindgen::prelude::*; - #[wasm_bindgen] - pub fn main() -> Element { - log("Entered Rust code"); +#[wasm_bindgen] +pub fn main() -> Element { + log("Entered Rust code"); - let elem = html! { - {"It is alive!"} - }; + let elem = html! { + {"It is alive!"} + }; - elem.create_element() - } \ No newline at end of file + elem.create_element() +} \ No newline at end of file