Fix doc comment

This commit is contained in:
Filip Tibell 2024-01-20 13:07:53 +01:00
parent 045959b92e
commit 5fe52a211b
No known key found for this signature in database

View file

@ -70,8 +70,8 @@ pub trait LuaExecutorExt<'lua> {
)?;
let rt = Runtime::new(&lua)?;
rt.push_main(&lua, lua.load("spawnBackgroundTask()"), ());
rt.run_blocking(&lua);
rt.push_main(lua.load("spawnBackgroundTask()"), ());
rt.run_blocking();
Ok(())
}