diff options
Diffstat (limited to 'src/doc.rs')
| -rw-r--r-- | src/doc.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -517,10 +517,11 @@ pub struct Lang([u8; 3], u8); impl Lang { pub const CHINESE: Self = Self(*b"zh ", 2); pub const ENGLISH: Self = Self(*b"en ", 2); + pub const FRENCH: Self = Self(*b"fr ", 2); pub const GERMAN: Self = Self(*b"de ", 2); - pub const RUSSIAN: Self = Self(*b"ru ", 2); pub const ITALIAN: Self = Self(*b"it ", 2); - pub const FRENCH: Self = Self(*b"fr ", 2); + pub const PORTUGUESE: Self = Self(*b"pt ", 2); + pub const RUSSIAN: Self = Self(*b"ru ", 2); /// Return the language code as an all lowercase string slice. pub fn as_str(&self) -> &str { |
