summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorradhitya <alif@radhitya.org>2026-06-24 04:17:43 +0700
committerradhitya <alif@radhitya.org>2026-06-24 04:17:43 +0700
commitfffc86850b895a2a1d4d673943a05e53ada18a6c (patch)
treec9a3302488fe96fbb8d616df0178ad8b750f0ed3 /src/config.rs
parent829b4e3cf1e59732d0166cbd24d31c93c4095977 (diff)
wait?
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);
}