Commit 67a94e02 authored by Timothy du Heaume's avatar Timothy du Heaume
Browse files

merge lazy_static macros

parent fac888ea
......@@ -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();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment