Executor should be clonable

This commit is contained in:
Filip Tibell 2025-04-26 12:57:22 +02:00
parent 0911fcbf5b
commit f9fc1c6de1

View file

@ -15,7 +15,7 @@ use mlua_luau_scheduler::LuaSpawnExt;
// Hyper executor that spawns futures onto our Lua scheduler
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct HyperExecutor {
lua: Lua,
}