diff options
Diffstat (limited to 'examples/module/src/lib.rs')
-rw-r--r-- | examples/module/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/module/src/lib.rs b/examples/module/src/lib.rs index 24056a1..38cc0fd 100644 --- a/examples/module/src/lib.rs +++ b/examples/module/src/lib.rs @@ -8,7 +8,7 @@ fn used_memory(lua: &Lua, _: ()) -> LuaResult<usize> { Ok(lua.used_memory()) } -#[mlua_derive::lua_module] +#[mlua::lua_module] fn rust_module(lua: &Lua) -> LuaResult<LuaTable> { let exports = lua.create_table()?; exports.set("sum", lua.create_function(sum)?)?; |