Skip to content

Commit 47ca02c

Browse files
committed
Reformatted Code
1 parent 557eed8 commit 47ca02c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

mozjs-sys/build.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ const ENV_VARS: &'static [&'static str] = &[
2828
"STLPORT_LIBS",
2929
];
3030

31-
const EXTRA_FILES: &'static [&'static str] = &[
32-
"makefile.cargo",
33-
"src/jsglue.hpp",
34-
"src/jsglue.cpp",
35-
];
31+
const EXTRA_FILES: &'static [&'static str] =
32+
&["makefile.cargo", "src/jsglue.hpp", "src/jsglue.cpp"];
3633

3734
/// Which version of moztools we expect
3835
#[cfg(windows)]

mozjs/tests/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::ptr;
22

3+
use mozjs::glue::{JS_StringToBigInt, JS_StringToBigInt1};
34
use mozjs::jsapi::mozilla::Range;
45
use mozjs::jsapi::{BigIntIsUint64, JS_NewGlobalObject};
56
use mozjs::jsapi::{JSAutoRealm, OnNewGlobalHookOption};
6-
use mozjs::glue::{JS_StringToBigInt, JS_StringToBigInt1};
77
use mozjs::rooted;
88
use mozjs::rust::{JSEngine, RealmOptions, Runtime, SIMPLE_GLOBAL_CLASS};
99

0 commit comments

Comments
 (0)