Update mod.rs

This commit is contained in:
azizr12 committed 2026-10-10 11:52:28 +00:00
1 parent 5f6d590f07
commit 6cb5b2909c
1 file changed
+1 -1
+1 -1
View File
@@ -201,7 +201,7 @@ impl PartialEq for Lang {
impl Eq for Lang {}
impl Lang {
pub const EN: Lang = Lang(&LANGUAGES[1]); // English is now index 1 since Arabic is 0
pub const EN: Lang = Lang(&LANGUAGES[0]);
pub fn code(self) -> &'static str {
self.0.code