Closed
Description
When playing around trying to make a prototype for a system I'm developing, I found that I bumped into a wall when using Lua.create_function
. It has a lifetime bound specified as 'static
which caused trouble, but when I tried changing it to 'lua
it worked and it doesn't seem to have caused trouble elsewhere. So my question is why the boundary is 'static
instead of 'lua
. I'm pretty new to Rust so I may have missed something very obvious here, but I thought I'd ask anyway.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels