From fe06fb8edc6b2e1afeb90661c144530b429885b6 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sun, 8 Dec 2024 22:33:45 -0600 Subject: [PATCH] Update libs/stringtable/src/rapify.rs Co-authored-by: BrettMayson --- libs/stringtable/src/rapify.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/stringtable/src/rapify.rs b/libs/stringtable/src/rapify.rs index affeeeea..ecb92147 100644 --- a/libs/stringtable/src/rapify.rs +++ b/libs/stringtable/src/rapify.rs @@ -54,11 +54,7 @@ fn rapify(project: &Project) -> Option { // Restructure translations: flat for each language let mut all_keys: Vec = Vec::new(); - let mut all_translations: Vec> = Vec::new(); - - for _language in ALL_LANGUAGES { - all_translations.push(Vec::new()); - } + let mut all_translations: Vec> = vec![Vec::new(); ALL_LANGUAGES.len()];