From 29f1d5b68ef47a262c3a8ef556da5c32cc841f78 Mon Sep 17 00:00:00 2001 From: asimon-1 <40246417+asimon-1@users.noreply.github.com> Date: Sun, 21 Jul 2024 18:29:34 -0700 Subject: [PATCH] Fix clippy warnings (#695) --- src/lib.rs | 3 ++- src/training/debug.rs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 72d7ab2..95f5819 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,8 @@ clippy::missing_safety_doc, clippy::wrong_self_convention, clippy::option_map_unit_fn, - clippy::transmute_num_to_bytes + clippy::transmute_num_to_bytes, + clippy::missing_transmute_annotations )] use std::fs; diff --git a/src/training/debug.rs b/src/training/debug.rs index 6ddd443..6681f1e 100644 --- a/src/training/debug.rs +++ b/src/training/debug.rs @@ -1,6 +1,5 @@ #![allow(dead_code)] // For Debug #![allow(unused_imports)] -#![cfg(debug_assertions)] use crate::common::is_operation_cpu; use crate::common::offsets::OFFSET_IS_VISIBLE_BACKSHIELD; use smash::app::{lua_bind::*, smashball::is_training_mode, utility, BattleObjectModuleAccessor};