Update actor_language.rs

This commit is contained in:
dullbananas 2024-04-26 19:03:57 -07:00 committed by GitHub
parent 1a3da1a931
commit 8363e70cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,7 +96,7 @@ impl LocalUserLanguage {
let forms = lang_ids
.iter()
.map(|l| LocalUserLanguageForm {
.map(|&l| LocalUserLanguageForm {
local_user_id: for_local_user_id,
language_id: l,
})
@ -171,7 +171,7 @@ impl SiteLanguage {
let forms = lang_ids
.iter()
.map(|l| SiteLanguageForm {
.map(|&l| SiteLanguageForm {
site_id: for_site_id,
language_id: l,
})