fmt: make bindings obey formatting

This commit is contained in:
Jonathan Kelley committed 2022-02-01 15:57:07 -05:00
1 parent 71656adc89
commit 86bac80040
2 files changed
+11 -3

No files matched your search

+5 -1
View File
@@ -1,8 +1,12 @@
use js_sys::Function;
use wasm_bindgen::prelude::*;
use web_sys::{Element, Node};
/*
This is an autogenerated file from build.rs.
Do not edit this file directly.
*/
#[wasm_bindgen(inline_js = r##"export function main() {
let root = window.document.getElementById("main");
if (root != null) {