mirror of
https://github.com/lune-org/mlua-luau-scheduler.git
synced 2025-04-03 01:50:57 +01:00
Fix doc test
This commit is contained in:
parent
99412056da
commit
f02c370ad7
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ pub trait LuaSpawnExt<'lua> {
|
|||
})?
|
||||
)?;
|
||||
|
||||
let rt = Runtime::new(&lua)?;
|
||||
let rt = Runtime::new(&lua);
|
||||
rt.spawn_thread(lua.load("spawnBackgroundTask()"), ());
|
||||
block_on(rt.run());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue