Skip to content

Commit 3331031

Browse files
committed
fix: fix cargo build error
1 parent 6189b7a commit 3331031

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn hello(_: &Lua, name: String) -> LuaResult<()> {
123123
}
124124

125125
#[mlua::lua_module]
126-
fn reqwest(lua: &Lua) -> LuaResult<LuaTable> {
126+
fn reqwest(lua: &Lua) -> LuaResult<LuaTable<'_>> {
127127
let exports = lua.create_table()?;
128128
exports.set("hello", lua.create_function(hello)?)?;
129129
exports.set(

0 commit comments

Comments
 (0)