main: end error messages with a newline

This commit is contained in:
Ben Boeckel 2017-02-16 13:18:00 -05:00
parent c76517d6c4
commit 1b0749a6d0

View file

@ -182,7 +182,7 @@ pub fn main() {
.map(AsRef::as_ref)) { .map(AsRef::as_ref)) {
metadata metadata
} else { } else {
let _ = io::stderr().write_fmt(format_args!("error: Could not obtain cargo metadata.")); let _ = io::stderr().write_fmt(format_args!("error: Could not obtain cargo metadata.\n"));
process::exit(101); process::exit(101);
}; };