Skip to content

Commit 5912a97

Browse files
committed
resove -D clippy::single-component-path-imports
Signed-off-by: 迷渡 <justjavac@gmail.com>
1 parent 9c46e26 commit 5912a97

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/qjs.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
use quick_js::Context;
2-
31
fn main() {
4-
let context = Context::new().unwrap();
2+
let context = quick_js::Context::new().unwrap();
53

64
let value = context.eval_as::<String>("'Hello World!'").unwrap();
75
print!("{}", &value);

src/v8.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use v8;
2-
31
fn main() {
42
let platform = v8::new_default_platform(0, false).make_shared();
53
v8::V8::initialize_platform(platform);

0 commit comments

Comments
 (0)