We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-D clippy::single-component-path-imports
1 parent 9c46e26 commit 5912a97Copy full SHA for 5912a97
src/qjs.rs
@@ -1,7 +1,5 @@
1
-use quick_js::Context;
2
-
3
fn main() {
4
- let context = Context::new().unwrap();
+ let context = quick_js::Context::new().unwrap();
5
6
let value = context.eval_as::<String>("'Hello World!'").unwrap();
7
print!("{}", &value);
src/v8.rs
@@ -1,5 +1,3 @@
-use v8;
let platform = v8::new_default_platform(0, false).make_shared();
v8::V8::initialize_platform(platform);
0 commit comments