mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Update mod.rs
This commit is contained in:
1 parent
5f6d590f07
commit
6cb5b2909c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user