Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 5bfb070e rédigé par Kubat's avatar Kubat
Parcourir les fichiers

KURISU/V2: It's other and not autre

parent 14cbfda9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!197Draft: Refactor the whole code.
......@@ -48,7 +48,7 @@ pub enum SongOrigin {
VN,
Game,
Music,
Autre,
Other,
}
impl SongType {
......@@ -70,7 +70,7 @@ impl SongOrigin {
SongOrigin::VN => "vn",
SongOrigin::Game => "game",
SongOrigin::Music => "music",
SongOrigin::Autre => "autre",
SongOrigin::Other => "other",
}
}
}
......@@ -97,7 +97,7 @@ impl FromStr for SongOrigin {
"vn" => Ok(Self::VN),
"game" => Ok(Self::Game),
"music" => Ok(Self::Music),
"autre" => Ok(Self::Autre),
"other" => Ok(Self::Other),
_ => Err(format!("unknown song origin: {s}")),
}
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter