소스 검색

Merge pull request #1 from Jascha-N/fix-hprintln

fix typo in hprintln!
Jorge Aparicio 8 년 전
부모
커밋
81535b42c4
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)*));
 }