Skip to content

Commit

Permalink
Merge pull request #1 from Jascha-N/fix-hprintln
Browse files Browse the repository at this point in the history
fix typo in hprintln!
  • Loading branch information
Jorge Aparicio authored Feb 15, 2017
2 parents 82aa430 + 419094e commit 81535b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)*));
}

0 comments on commit 81535b4

Please sign in to comment.