rm: enum Lang & configs::singleton() call

This commit is contained in:
itiB
2020-11-06 14:46:34 +09:00
parent 3d78f09023
commit 3933d839ab
2 changed files with 0 additions and 7 deletions
-5
View File
@@ -12,11 +12,6 @@ pub struct SingletonReader {
pub rules: toml::ParseToml,
}
pub enum Lang {
Ja,
En,
}
pub fn singleton() -> Box<SingletonReader> {
static mut SINGLETON: Option<Box<SingletonReader>> = Option::None;
static ONCE: Once = Once::new();