summaryrefslogtreecommitdiff
path: root/src/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/function.rs')
-rw-r--r--src/function.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/function.rs b/src/function.rs
index 8e415d7..541627f 100644
--- a/src/function.rs
+++ b/src/function.rs
@@ -223,6 +223,7 @@ impl<'lua> Function<'lua> {
end
"#,
)
+ .try_cache()
.set_name("_mlua_bind")?
.call((self.clone(), args_wrapper))
}