We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63a255b commit 452dc8bCopy full SHA for 452dc8b
src/userdata.rs
@@ -1091,6 +1091,7 @@ impl AnyUserData {
1091
lua.push_ref(&self.0);
1092
protect_lua!(state, 1, 1, fn(state) {
1093
// Try `__todebugstring` metamethod first, then `__tostring`
1094
+ #[allow(clippy::collapsible_if)]
1095
if ffi::luaL_callmeta(state, -1, cstr!("__todebugstring")) == 0 {
1096
if ffi::luaL_callmeta(state, -1, cstr!("__tostring")) == 0 {
1097
ffi::lua_pushnil(state);
0 commit comments