File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ impl Lua {
875
875
/// information about the function executing at a given level.
876
876
/// Level `0` is the current running function, whereas level `n+1` is the function that has
877
877
/// called level `n` (except for tail calls, which do not count in the stack).
878
- pub fn inspect_stack < R > ( & self , level : usize , f : impl FnOnce ( Debug ) -> R ) -> Option < R > {
878
+ pub fn inspect_stack < R > ( & self , level : usize , f : impl FnOnce ( & Debug ) -> R ) -> Option < R > {
879
879
let lua = self . lock ( ) ;
880
880
unsafe {
881
881
let mut ar = mem:: zeroed :: < ffi:: lua_Debug > ( ) ;
@@ -889,7 +889,7 @@ impl Lua {
889
889
return None ;
890
890
}
891
891
892
- Some ( f ( Debug :: new ( & lua, level, & mut ar) ) )
892
+ Some ( f ( & Debug :: new ( & lua, level, & mut ar) ) )
893
893
}
894
894
}
895
895
You can’t perform that action at this time.
0 commit comments