Fix clippy warnings

This commit is contained in:
Alex Orlenko
2023-02-07 22:43:48 +00:00
parent f5182e0584
commit b790b525c1
8 changed files with 40 additions and 40 deletions
+1 -2
View File
@@ -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;