Add osu! genre Folk (13)

This commit is contained in:
Natsu Kagami 2020-06-18 13:55:25 -04:00
parent 60360d4f1f
commit 3b260aa3e7
Signed by: nki
GPG key ID: 73376E117CD20735
2 changed files with 2 additions and 0 deletions

View file

@ -130,6 +130,7 @@ pub enum Genre {
Novelty, Novelty,
HipHop, HipHop,
Electronic, Electronic,
Folk,
} }
impl fmt::Display for Genre { impl fmt::Display for Genre {

View file

@ -218,6 +218,7 @@ fn parse_genre(s: impl AsRef<str>) -> ParseResult<Genre> {
7 => Novelty, 7 => Novelty,
9 => HipHop, 9 => HipHop,
10 => Electronic, 10 => Electronic,
13 => Folk,
_ => { _ => {
return Err(ParseError::InvalidValue { return Err(ParseError::InvalidValue {
field: "genre", field: "genre",