1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 11:09:37 +00:00
This commit is contained in:
Nolan Darilek 2022-12-02 13:00:20 -06:00
parent dcaf5b914d
commit 8b506a89e0

View File

@ -312,7 +312,7 @@ impl Backend for AvFoundation {
CFString::wrap_under_get_rule(msg_send![*v as *const Object, language])
};
let language = language.to_string();
let language = LanguageTag::parse(&language).unwrap();
let language = LanguageTag::parse(language).unwrap();
Voice {
id: id.to_string(),
name: name.to_string(),