Skip to content

Commit

Permalink
Reformatted Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Redfire75369 committed Dec 8, 2023
1 parent ce092f6 commit 7afbd9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions mozjs-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ const ENV_VARS: &'static [&'static str] = &[
"STLPORT_LIBS",
];

const EXTRA_FILES: &'static [&'static str] = &[
"makefile.cargo",
"src/jsglue.hpp",
"src/jsglue.cpp",
];
const EXTRA_FILES: &'static [&'static str] =
&["makefile.cargo", "src/jsglue.hpp", "src/jsglue.cpp"];

/// Which version of moztools we expect
#[cfg(windows)]
Expand Down
2 changes: 1 addition & 1 deletion mozjs/tests/range.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::ptr;

use mozjs::glue::{JS_StringToBigInt, JS_StringToBigInt1};
use mozjs::jsapi::mozilla::Range;
use mozjs::jsapi::{BigIntIsUint64, JS_NewGlobalObject};
use mozjs::jsapi::{JSAutoRealm, OnNewGlobalHookOption};
use mozjs::glue::{JS_StringToBigInt, JS_StringToBigInt1};
use mozjs::rooted;
use mozjs::rust::{JSEngine, RealmOptions, Runtime, SIMPLE_GLOBAL_CLASS};

Expand Down

0 comments on commit 7afbd9c

Please sign in to comment.