author | Yuya Nishihara <yuya@tcha.org> |
Sun, 07 Oct 2018 20:55:51 +0900 | |
changeset 40286 | af52181f71ff |
parent 40285 | 96164fb9b913 |
child 40287 | 7623199def92 |
--- a/rust/chg/src/main.rs Sun Oct 14 04:37:25 2018 -0400 +++ b/rust/chg/src/main.rs Sun Oct 07 20:55:51 2018 +0900 @@ -20,7 +20,7 @@ fn main() { let code = run().unwrap_or_else(|err| { - eprintln!("chg: abort: {}", err); + writeln!(io::stderr(), "chg: abort: {}", err).unwrap_or(()); 255 }); process::exit(code);