Permalink
Browse files

Replace eprintln! with writeln!(stderr()

  • Loading branch information...
mmstick committed Jun 20, 2017
1 parent b1014bf commit 63d49ee97f8a1e71b9f6cc183b34e193422452c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main.rs
View
@@ -71,7 +71,7 @@ fn main() {
let handle = core.handle();
let ctrl_c = tokio_signal::ctrl_c(&handle).flatten_stream();
let signal_handler = ctrl_c.for_each(|()| {
eprintln!("ion: received SIGINT (Ctrl+C)");
let _ = writeln!(stderr(), "ion: received SIGINT (Ctrl+C)");
let _ = sigint_tx.send(true);
Ok(())
});

0 comments on commit 63d49ee

Please sign in to comment.