summaryrefslogtreecommitdiff
path: root/src/lua.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2022-03-31 12:23:21 +0100
committerAlex Orlenko <zxteam@protonmail.com>2022-03-31 12:23:21 +0100
commitd5315da8d11461369e7c6d5c585f7961ab7eb5cd (patch)
tree1fc4f8a22a1e29e7b02eab5a84586da210f49163 /src/lua.rs
parenta7cc7f328a7f9c45f704bc1d103b0b223ca00eff (diff)
downloadmlua-d5315da8d11461369e7c6d5c585f7961ab7eb5cd.zip
Fix tests
Diffstat (limited to 'src/lua.rs')
-rw-r--r--src/lua.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.rs b/src/lua.rs
index 5d84b6b..888dac0 100644
--- a/src/lua.rs
+++ b/src/lua.rs
@@ -956,7 +956,7 @@ impl Lua {
/// ```
#[cfg(feature = "luau")]
#[cfg_attr(docsrs, doc(cfg(feature = "luau")))]
- pub fn set_interrupt<'lua, F>(&'lua self, callback: F)
+ pub fn set_interrupt<F>(&self, callback: F)
where
F: 'static + MaybeSend + Fn(&Lua) -> Result<VmState>,
{