diff --git a/src/settings.rs b/src/settings.rs index f2768f4..368ef5d 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -43,7 +43,7 @@ impl Settings { if let Ok(path) = env::var("LIBMEDIUM") { s = s.add_source(File::with_name(&path)); } else if Path::new("./config.toml").exists() { - s = s.add_source(File::with_name("./config.toml"); + s = s.add_source(File::with_name("./config.toml")); } else { log::warn!("configuration file not found"); }