Merge pull request 'ped clippy' (#845) from notfiication-on-new-personal-stat into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m41s
CI/CD Pipeline / deploy-staging (push) Successful in 7m11s
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #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,
}