Skip to content

Commit

Permalink
fix: one less clippy::warning present
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeromos Kovacs committed Sep 3, 2024
1 parent 83c9ee0 commit dd73da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl<'de> Deserialize<'de> for LessonCode {
Ok(match String::deserialize(deserializer)?.as_str() {
"irregular" => LessonCode::Irregular,
"cancelled" => LessonCode::Cancelled,
"regular" | _ => LessonCode::Regular,
_ => LessonCode::Regular,
})
}
}
Expand All @@ -368,7 +368,7 @@ impl<'de> Deserialize<'de> for LessonType {
"sb" => LessonType::Standby,
"bs" => LessonType::BreakSupervision,
"ex" => LessonType::Exam,
"ls" | _ => LessonType::Lesson,
_ => LessonType::Lesson,
})
}
}
Expand Down

0 comments on commit dd73da6

Please sign in to comment.