Skip to content

Commit

Permalink
explicitly specify return ty
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Sep 9, 2024
1 parent 177d03e commit af214c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/javascript/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl TryFrom<blueprint::Script> for LocalRuntime {
let source = script.source;
let js_runtime = rquickjs::Runtime::new()?;
let context = Context::full(&js_runtime)?;
context.with(|ctx| {
let _: () = context.with(|ctx| {
setup_builtins(&ctx)?;
ctx.eval(source)
})?;
Expand Down

0 comments on commit af214c2

Please sign in to comment.