Cleaned stdout
This commit is contained in:
parent
83f1481288
commit
a6dfe9dfd4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ pub struct RawConfig {
|
|||
|
||||
impl RawConfig {
|
||||
fn new_from_file(file: &str) -> Self {
|
||||
println!("Parsing config file:\n{:?}\n", file);
|
||||
println!("Parsing config file:\n{:?}\n", file.rsplit_once("/").unwrap().1);
|
||||
let file_content: String = std::fs::read_to_string(file).unwrap();
|
||||
let raw_config: RawConfig = toml::from_str(&file_content)
|
||||
.expect("Couldn't parse config file.");
|
||||
|
|
Loading…
Add table
Reference in a new issue