From a67b7af6ffb73fb82da1b6138a97e8ad7677639c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jan 2022 07:44:52 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/training/mod.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/training/mod.rs b/src/training/mod.rs index 2a13005..0c3ab88 100644 --- a/src/training/mod.rs +++ b/src/training/mod.rs @@ -282,14 +282,17 @@ pub unsafe fn handle_set_dead_rumble(lua_state: u64) -> u64 { } #[skyline::hook(replace = CameraModule::req_quake)] -pub unsafe fn handle_req_quake(module_accessor: &mut app::BattleObjectModuleAccessor, my_int: i32) -> u64 { +pub unsafe fn handle_req_quake( + module_accessor: &mut app::BattleObjectModuleAccessor, + my_int: i32, +) -> u64 { if !is_training_mode() { - return original!()(module_accessor,my_int); + return original!()(module_accessor, my_int); } if save_states::is_killing() { return original!()(module_accessor, *CAMERA_QUAKE_KIND_NONE); } - original!()(module_accessor,my_int) + original!()(module_accessor, my_int) } pub static mut COMMON_PARAMS: *mut CommonParams = 0 as *mut _;