yagit

Yet another static site generator for Git 🙀️

Commit
75cbb21c5794c3d087c346901d29d34165da6ab7
Parent
5f67937f987a9062ffe2d94c53ce889d0f9ae595
Author
Pablo <pablo-pie@riseup.net>
Date

Typo

Diffstats

1 files changed, 2 insertions, 2 deletions

Status Name Changes Insertions Deletions
Modified src/log.rs 2 files changed 2 2
diff --git a/src/log.rs b/src/log.rs
@@ -95,14 +95,14 @@ macro_rules! info_done {
 #[macro_export]
 macro_rules! info_count {
   ($count:expr, $total:expr; $($arg:tt)+) => ({
-    use crate::log::{BOLD_GREEN, RESET};
+    use $crate::log::{BOLD_GREEN, RESET};
     let mut stdout = io::stdout().lock();
     let _ = write!(
       stdout,
       "{BOLD_GREEN}[{count:>padding$}/{total}]{RESET} {args}",
       count = $count,
       total = $total,
-      padding = crate::log_floor($total),
+      padding = $crate::log_floor($total),
       args = std::format_args!($($arg)+)
     );
     let _ = stdout.flush();