Skip to content

Commit 0682c95

Browse files
authored
Merge pull request #1548 from mathstuf/missing-eol
main: end error messages with a newline
2 parents 96c9303 + 1b0749a commit 0682c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ pub fn main() {
182182
.map(AsRef::as_ref)) {
183183
metadata
184184
} else {
185-
let _ = io::stderr().write_fmt(format_args!("error: Could not obtain cargo metadata."));
185+
let _ = io::stderr().write_fmt(format_args!("error: Could not obtain cargo metadata.\n"));
186186
process::exit(101);
187187
};
188188

0 commit comments

Comments
 (0)