Merge pull request 'ped clippy' (#845) from notfiication-on-new-personal-stat into staging
Reviewed-on: #845
This commit is contained in:
commit
ac67c6cfdb
@ -14,10 +14,10 @@ pub(crate) enum Level {
|
|||||||
impl Level {
|
impl Level {
|
||||||
fn required_km(&self) -> i32 {
|
fn required_km(&self) -> i32 {
|
||||||
match self {
|
match self {
|
||||||
Level::Bronze => 40000,
|
Level::Bronze => 40_000,
|
||||||
Level::Silver => 80000,
|
Level::Silver => 80_000,
|
||||||
Level::Gold => 100000,
|
Level::Gold => 100_000,
|
||||||
Level::Diamond => 200000,
|
Level::Diamond => 200_000,
|
||||||
Level::Done => 0,
|
Level::Done => 0,
|
||||||
Level::None => 0,
|
Level::None => 0,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user