mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Take Table instead of impl IntoLua in Chunk::set_environment()
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ impl RawLua {
|
||||
pub(crate) fn load_chunk(
|
||||
&self,
|
||||
name: Option<&CStr>,
|
||||
env: Option<Table>,
|
||||
env: Option<&Table>,
|
||||
mode: Option<ChunkMode>,
|
||||
source: &[u8],
|
||||
) -> Result<Function> {
|
||||
|
||||
Reference in New Issue
Block a user