1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-01-31 22:47:25 +00:00

Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-01-29 03:11:32 +00:00 committed by GitHub
parent 1a9dea2f52
commit 6d312521d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,10 +149,9 @@ fn handle_shield_decay(param_type: u64, param_hash: u64) -> Option<f32> {
/// Vanilla is 1.19, but mods can change this.
static mut CACHED_SHIELD_DAMAGE_MUL: Option<f32> = None;
/// sets/resets the shield_damage_mul within
/// the game's internal structure.
///
/// sets/resets the shield_damage_mul within
/// the game's internal structure.
///
/// `common_params` is effectively a mutable reference
/// to the game's own internal data structure for params.
pub unsafe fn param_installer() {