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]
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! {
<span> {"It is alive!"} </span>
};
let elem = html! {
<span> {"It is alive!"} </span>
};
elem.create_element()
}
elem.create_element()
}