mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-31 03:51:56 +00:00
Run fmt and clippy
This commit is contained in:
@@ -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]
|
||||
|
@@ -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]
|
||||
|
Reference in New Issue
Block a user