Explorar o código

fix typo in hprintln!

Jascha %!s(int64=8) %!d(string=hai) anos
pai
achega
419094e8f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/macros.rs

+ 1 - 1
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)*));
 }