Skip to content

Commit 6dccb7f

Browse files
committed
Remove blank line
Part of rustwasm#670
1 parent bec3178 commit 6dccb7f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

crates/js-sys/tests/wasm/DataView.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
use js_sys::*;
2+
use wasm_bindgen::JsCast;
13
use wasm_bindgen::JsValue;
24
use wasm_bindgen_test::*;
3-
use wasm_bindgen::JsCast;
4-
use js_sys::*;
55

66
#[wasm_bindgen_test]
77
fn test() {
@@ -36,7 +36,9 @@ fn test() {
3636
v.set_int8(0, 42);
3737

3838
// TODO: figure out how to do `bytes[2]`
39-
bytes.subarray(2, 3).for_each(&mut |x, _, _| assert_eq!(x, 42));
39+
bytes
40+
.subarray(2, 3)
41+
.for_each(&mut |x, _, _| assert_eq!(x, 42));
4042
}
4143

4244
#[wasm_bindgen_test]
@@ -50,6 +52,5 @@ fn dataview_inheritance() {
5052

5153
assert!(v.is_instance_of::<DataView>());
5254
assert!(v.is_instance_of::<Object>());
53-
5455
let _: &Object = v.as_ref();
5556
}

0 commit comments

Comments
 (0)