mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Fix clippy warnings
This commit is contained in:
+1
-2
@@ -3382,8 +3382,7 @@ unsafe fn ref_stack_pop(extra: &mut ExtraData) -> c_int {
|
||||
// It is a user error to create enough references to exhaust the Lua max stack size for
|
||||
// the ref thread.
|
||||
panic!(
|
||||
"cannot create a Lua reference, out of auxiliary stack space (used {} slots)",
|
||||
top
|
||||
"cannot create a Lua reference, out of auxiliary stack space (used {top} slots)"
|
||||
);
|
||||
}
|
||||
extra.ref_stack_size += inc;
|
||||
|
||||
Reference in New Issue
Block a user