cleanup: move use statements to start of module

Closes #12102
This commit is contained in:
Daniel Rainer
2025-11-24 00:22:13 +01:00
committed by Johannes Altmanninger
parent 9af85f4c3b
commit b8662f9c7f

View File

@@ -7,15 +7,13 @@
#[cfg(feature = "localize-messages")]
mod gettext_impl {
use crate::env::{EnvStack, Environment};
use fish_gettext_maps::CATALOGS;
use once_cell::sync::Lazy;
use std::{collections::HashSet, sync::Mutex};
use once_cell::sync::Lazy;
use fish_gettext_maps::CATALOGS;
type Catalog = &'static phf::Map<&'static str, &'static str>;
use crate::env::{EnvStack, Environment};
/// Tries to find catalogs for `language`.
/// `language` must be an ISO 639 language code, optionally followed by an underscore and an ISO
/// 3166 country/territory code.