Remove clippy::let_and_return ignore

This commit is contained in:
Alex Orlenko
2023-07-10 22:58:15 +01:00
parent 7dc6e4c132
commit 8e0bdc9934
-1
View File
@@ -368,7 +368,6 @@ impl<'lua, 'scope> Scope<'lua, 'scope> {
check_stack(state, 13)?;
#[cfg(not(feature = "luau"))]
#[allow(clippy::let_and_return)]
let ud_ptr = protect_lua!(state, 0, 1, |state| {
let ud = ffi::lua_newuserdata(state, mem::size_of::<UserDataCell<T>>());