We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6189b7a commit 3331031Copy full SHA for 3331031
1 file changed
src/lib.rs
@@ -123,7 +123,7 @@ fn hello(_: &Lua, name: String) -> LuaResult<()> {
123
}
124
125
#[mlua::lua_module]
126
-fn reqwest(lua: &Lua) -> LuaResult<LuaTable> {
+fn reqwest(lua: &Lua) -> LuaResult<LuaTable<'_>> {
127
let exports = lua.create_table()?;
128
exports.set("hello", lua.create_function(hello)?)?;
129
exports.set(
0 commit comments