]> git.lizzy.rs Git - rust.git/commitdiff
main: end error messages with a newline
authorBen Boeckel <ben.boeckel@kitware.com>
Thu, 16 Feb 2017 18:18:00 +0000 (13:18 -0500)
committerBen Boeckel <ben.boeckel@kitware.com>
Thu, 16 Feb 2017 18:18:00 +0000 (13:18 -0500)
src/main.rs

index ac90528c60639bc7f3702f7417fc49424a41e48c..9d67ba3958a8e7b5699c38fe6313bdb2b2e1405f 100644 (file)
@@ -182,7 +182,7 @@ pub fn main() {
             .map(AsRef::as_ref)) {
             metadata
         } 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);
         };