From 8b506a89e09a79e1c488c8dd51157cfa953db091 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 2 Dec 2022 13:00:20 -0600 Subject: [PATCH] ... --- src/backends/av_foundation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/av_foundation.rs b/src/backends/av_foundation.rs index 16af5b6..72e2aa5 100644 --- a/src/backends/av_foundation.rs +++ b/src/backends/av_foundation.rs @@ -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(),