Remove unnecessary debugging printf in i18n crate

This commit is contained in:
Quentin Gliech
2024-02-19 17:45:25 +01:00
parent 46c02ab1e2
commit 53e01e235d

View File

@@ -374,7 +374,6 @@ impl Translator {
#[must_use]
pub fn choose_locale(&self, iter: impl Iterator<Item = DataLocale>) -> DataLocale {
for locale in iter {
println!("Trying for locale {locale:?}");
if self.has_locale(&locale) {
return locale;
}
@@ -382,7 +381,6 @@ impl Translator {
let mut fallbacker = FALLBACKER.fallback_for(locale);
loop {
println!(" Fallback: {:?}", fallbacker.get());
if fallbacker.get().is_und() {
break;
}