Skip to content

Commit

Permalink
minor: satisfy Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpombrio committed Apr 16, 2024
1 parent 222cbf8 commit f22a2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rhai/rust_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl CustomType for SharedRuntime {
fn event_loop(engine: &mut Engine, rt: &mut SharedRuntime, ast: &AST) {
loop {
let prog = rt.0.borrow_mut().block();
prog.call::<()>(&engine, &ast, ()).unwrap();
prog.call::<()>(engine, ast, ()).unwrap();
}
}

Expand Down

0 comments on commit f22a2a9

Please sign in to comment.