瀏覽代碼

fix typo in hprintln!

Jascha 8 年之前
父節點
當前提交
419094e8f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)*));
 }