diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-10-19 03:28:02 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-10-19 03:28:02 +0200 |
| commit | 00f95b860b30923016ebf5d9e78c520b95afb9d7 (patch) | |
| tree | 1c9dbe01ec2240ae05786c30e621043e22917957 /mumlib | |
| parent | 26ccc76b3fcab00d21f88346d816fb83c2ae7563 (diff) | |
| download | mum-00f95b860b30923016ebf5d9e78c520b95afb9d7.tar.gz | |
server config subcommand
Diffstat (limited to 'mumlib')
| -rw-r--r-- | mumlib/src/config.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mumlib/src/config.rs b/mumlib/src/config.rs index e2ede02..d93b172 100644 --- a/mumlib/src/config.rs +++ b/mumlib/src/config.rs @@ -1,4 +1,3 @@ -use log::*; use serde::{Deserialize, Serialize}; use std::fs; use toml::Value; @@ -18,7 +17,6 @@ pub struct Config { impl Config { pub fn write_default_cfg(&self) { - debug!("{}", toml::to_string(&TOMLConfig::from(self)).unwrap()); fs::write(get_cfg_path(), toml::to_string(&TOMLConfig::from(self)).unwrap()).unwrap(); } } |
