From 67a94e0257555476201cff55fcc5e0c4d386e94b Mon Sep 17 00:00:00 2001 From: Timothy du Heaume <timothy.duheaume@gmail.com> Date: Sat, 1 Feb 2020 18:41:22 +0900 Subject: [PATCH] merge lazy_static macros --- src/config.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 2b140be..b310d94 100644 --- a/src/config.rs +++ b/src/config.rs @@ -5,9 +5,6 @@ use toml; lazy_static! { static ref CONFIG_FILE: String = fs::read_to_string("config.toml").unwrap(); -} - -lazy_static! { pub static ref CONFIG: UccbotConfig = toml::from_str(&CONFIG_FILE).unwrap(); } -- GitLab