1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-10-03 09:44:26 +00:00

Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2022-10-16 23:39:38 +00:00 committed by GitHub
parent 7f3a8e8674
commit aea5011a89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;