From 8fd1037bf30a6413dba667ae5368103afdeca8da Mon Sep 17 00:00:00 2001
From: juliancoffee <lightdarkdaughter@gmail.com>
Date: Sun, 25 Apr 2021 09:12:15 +0300
Subject: [PATCH] Update doc-strings

---
 voxygen/src/i18n.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/voxygen/src/i18n.rs b/voxygen/src/i18n.rs
index 5b04959fd3..cd3f823f68 100644
--- a/voxygen/src/i18n.rs
+++ b/voxygen/src/i18n.rs
@@ -99,9 +99,6 @@ pub struct LocalizationFragment {
 
 impl Language {
     /// Get a localized text from the given key
-    ///
-    /// If the key is not present in the localization object
-    /// then the key is returned.
     pub fn get<'a>(&'a self, key: &'a str) -> Option<&str> {
         self.string_map.get(key).map(|s| s.as_str())
     }
@@ -242,6 +239,8 @@ pub type Localization = LocalizationGuard;
 impl LocalizationGuard {
     /// Get a localized text from the given key
     ///
+    /// First lookup is done in the active language, second in
+    /// the fallback (if present).
     /// If the key is not present in the localization object
     /// then the key is returned.
     pub fn get<'a>(&'a self, key: &'a str) -> &str {