Run fmt and clippy

This commit is contained in:
Gus Caplan
2019-05-28 09:52:44 -05:00
parent dfcaabc738
commit 2cc40a27d2
9 changed files with 84 additions and 64 deletions

View File

@@ -47,9 +47,9 @@ pub fn import_export_same_name() {
import_export_same_name();
}
pub mod snippets;
pub mod modules;
pub mod anyref_heap_live_count;
pub mod modules;
pub mod snippets;
pub mod strings;
#[wasm_bindgen_test]

View File

@@ -1,5 +1,5 @@
use std::rc::Rc;
use std::cell::Cell;
use std::rc::Rc;
use wasm_bindgen::prelude::*;
use wasm_bindgen_test::*;
@@ -136,7 +136,9 @@ struct GetterCompute;
#[wasm_bindgen]
impl GetterCompute {
#[wasm_bindgen(getter)]
pub fn foo(&self) -> u32 { 3 }
pub fn foo(&self) -> u32 {
3
}
}
#[wasm_bindgen_test]