1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 10:54:16 +00:00

Fix clippy warnings (#695)

This commit is contained in:
asimon-1 2024-07-21 18:29:34 -07:00 committed by GitHub
parent 69d30d5a6d
commit 29f1d5b68e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,8 @@
clippy::missing_safety_doc, clippy::missing_safety_doc,
clippy::wrong_self_convention, clippy::wrong_self_convention,
clippy::option_map_unit_fn, clippy::option_map_unit_fn,
clippy::transmute_num_to_bytes clippy::transmute_num_to_bytes,
clippy::missing_transmute_annotations
)] )]
use std::fs; use std::fs;

View file

@ -1,6 +1,5 @@
#![allow(dead_code)] // For Debug #![allow(dead_code)] // For Debug
#![allow(unused_imports)] #![allow(unused_imports)]
#![cfg(debug_assertions)]
use crate::common::is_operation_cpu; use crate::common::is_operation_cpu;
use crate::common::offsets::OFFSET_IS_VISIBLE_BACKSHIELD; use crate::common::offsets::OFFSET_IS_VISIBLE_BACKSHIELD;
use smash::app::{lua_bind::*, smashball::is_training_mode, utility, BattleObjectModuleAccessor}; use smash::app::{lua_bind::*, smashball::is_training_mode, utility, BattleObjectModuleAccessor};