Update formatting to use 4‑space indentation
Nix package / build (push) Successful in 8m44s
Linux package builds (test) / linux (push) Successful in 2m25s
Linux package builds (test) / aur (push) Successful in 7m41s
Rust checks / check (push) Successful in 3m39s

- Adjust rustfmt.toml to set tab_spaces = 4.
- Reformat imports, struct definitions, function bodies, and match arms
  across the project to match the new style (aligned fields, added
  spacing, etc.).
- Ensure all code complies with the updated rustfmt settings.
This commit is contained in:
GarandPLG committed 2026-10-19 17:43:43 +02:00
1 parent a981663152
commit 73f544d5d6
66 files changed
+5378 -5373

No files matched your search

+8 -8
View File
@@ -2,12 +2,12 @@ use crate::app::states::{PerkDecks, skirmish_states::GameMode};
#[derive(Debug, Clone, PartialEq)]
pub struct SettingsState {
pub username: String,
pub game_mode: GameMode,
pub perk_deck: PerkDecks,
pub starting_wood: u16,
pub starting_metal: u16,
pub supply_limit: u8,
pub xp_modifier: f32,
pub skill_points_limit: u16,
pub username: String,
pub game_mode: GameMode,
pub perk_deck: PerkDecks,
pub starting_wood: u16,
pub starting_metal: u16,
pub supply_limit: u8,
pub xp_modifier: f32,
pub skill_points_limit: u16,
}