From 419094e8f271f301eedf24b874569291a4e3f61b Mon Sep 17 00:00:00 2001 From: Jascha Date: Wed, 15 Feb 2017 15:01:24 +0100 Subject: [PATCH] fix typo in hprintln! --- src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.rs b/src/macros.rs index f264f3a2..7443070b 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -26,7 +26,7 @@ macro_rules! hprint { /// Macro for printing to the **host's** standard output, with a newline. #[macro_export] macro_rules! hprintln { - () => (print!("\n")); + () => (hprint!("\n")); ($fmt:expr) => (hprint!(concat!($fmt, "\n"))); ($fmt:expr, $($arg:tt)*) => (hprint!(concat!($fmt, "\n"), $($arg)*)); }