summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/config.rs b/src/config.rs
index 8dc8a6f..bfffd54 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -9,14 +9,9 @@ pub struct Config {
}
pub fn parse_file(filename: &str) {
- println!("loaded {} config file", filename);
let contents = fs::read_to_string(filename)
.expect("something went wrong reading to file");
let config: Config = toml::from_str(&contents)
.expect("failed to parse toml formatting");
-
- println!("title: {}", config.title);
- println!("url: {}", config.url);
- println!("author: {}", config.author);
}