Reformat the source to actually pass the tests!

This commit is contained in:
Stuart Dootson 2016-08-09 22:10:48 +02:00
parent cb0b7108ca
commit 4055e272da

View File

@ -208,7 +208,10 @@ fn read_config(filename: &str) -> Config {
let mut config = if !sig_comments.is_empty() {
get_config(sig_comments.get("config").map(|x| &(*x)[..]))
} else {
get_config(Path::new(filename).with_extension("toml").file_name().and_then(std::ffi::OsStr::to_str))
get_config(Path::new(filename)
.with_extension("toml")
.file_name()
.and_then(std::ffi::OsStr::to_str))
};
for (key, val) in &sig_comments {