remove needless reference-take.

This commit is contained in:
Joe Ardent 2024-06-03 22:21:26 -07:00
parent 30d7a487d6
commit 8109448dac

View file

@ -13,7 +13,6 @@ fn main() {
let node = Arc::new(Mutex::new(node)); let node = Arc::new(Mutex::new(node));
let runner = Runner::new(node); let runner = Runner::new(node);
let runner = &runner;
runner.run(Some(Box::new(on_init))); runner.run(Some(Box::new(on_init)));
} }