Fix an indentation issue

This commit is contained in:
Bradlee Speice 2018-08-25 18:29:39 -04:00
parent e53a938d5a
commit 26509b50e7

View File

@ -1,20 +1,20 @@
#[macro_use] #[macro_use]
extern crate virtual_dom_rs; extern crate virtual_dom_rs;
extern crate percy_webapis; extern crate percy_webapis;
extern crate wasm_bindgen; extern crate wasm_bindgen;
use percy_webapis::log; use percy_webapis::log;
use percy_webapis::Element; use percy_webapis::Element;
use wasm_bindgen::prelude::*; use wasm_bindgen::prelude::*;
#[wasm_bindgen] #[wasm_bindgen]
pub fn main() -> Element { pub fn main() -> Element {
log("Entered Rust code"); log("Entered Rust code");
let elem = html! { let elem = html! {
<span> {"It is alive!"} </span> <span> {"It is alive!"} </span>
}; };
elem.create_element() elem.create_element()
} }