Removing unused macros

This commit is contained in:
João M. Bezerra 2021-08-04 12:41:32 -03:00
parent 44e0fcc985
commit 8f7f812e87

View File

@ -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!(