From 8f7f812e87504a8991ac8e83b3f95f124562adc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20M=2E=20Bezerra?= Date: Wed, 4 Aug 2021 12:41:32 -0300 Subject: [PATCH] Removing unused macros --- src/utils.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 1b67cdb..717b64e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -7,22 +7,6 @@ use std::{ use crate::{oof, OVERWRITE_CONFIRMATION}; -#[macro_export] -#[cfg(debug_assertions)] -macro_rules! debug { - ($x:expr) => { - dbg!($x) - }; -} - -#[macro_export] -#[cfg(not(debug_assertions))] -macro_rules! debug { - ($x:expr) => { - std::convert::identity($x) - }; -} - pub fn create_dir_if_non_existent(path: &Path) -> crate::Result<()> { if !path.exists() { println!(