Merge pull request 'ped clippy' (#845) from notfiication-on-new-personal-stat into staging

Reviewed-on: Ruderverein-Donau-Linz/rowt#845
This commit is contained in:
philipp 2025-01-09 15:36:34 +01:00
commit ac67c6cfdb

View File

@ -14,10 +14,10 @@ pub(crate) enum Level {
impl Level {
fn required_km(&self) -> i32 {
match self {
Level::Bronze => 40000,
Level::Silver => 80000,
Level::Gold => 100000,
Level::Diamond => 200000,
Level::Bronze => 40_000,
Level::Silver => 80_000,
Level::Gold => 100_000,
Level::Diamond => 200_000,
Level::Done => 0,
Level::None => 0,
}