From 7e000000981e4ef82bcac27f95517830e1aed0f7 Mon Sep 17 00:00:00 2001 From: Arcterus Date: Mon, 4 Aug 2014 20:17:10 -0700 Subject: [PATCH] common/util: make pipe_writeln! use writeln! instead of write! --- src/common/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/util.rs b/src/common/util.rs index 513de0847..2b75e8407 100644 --- a/src/common/util.rs +++ b/src/common/util.rs @@ -136,7 +136,7 @@ macro_rules! pipe_write( #[macro_export] macro_rules! pipe_writeln( ($fd:expr, $($args:expr),+) => ( - match write!($fd, $($args),+) { + match writeln!($fd, $($args),+) { Ok(_) => true, Err(f) => { if f.kind == ::std::io::BrokenPipe {