From aea5011a893500c0c3d6e3f420bb4c8dce338261 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 16 Oct 2022 23:39:38 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/training/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/training/mod.rs b/src/training/mod.rs index 00ca90a..5f84f83 100644 --- a/src/training/mod.rs +++ b/src/training/mod.rs @@ -462,9 +462,7 @@ pub unsafe fn handle_effect( static CAN_FUTTOBI_BACK_OFFSET: usize = 0x0260f950; // can_futtobi_back, checks if stage allows for star KOs #[skyline::hook(offset = CAN_FUTTOBI_BACK_OFFSET)] -pub unsafe fn handle_star_ko( - my_long_ptr: &mut u64, -) -> bool { +pub unsafe fn handle_star_ko(my_long_ptr: &mut u64) -> bool { let ori = original!()(my_long_ptr); if !is_training_mode() { return ori;