From a2408cd14317e1c0969953f8745034d78b2b9bcf Mon Sep 17 00:00:00 2001 From: Ben Bridle <ben@derelict.engineering> Date: Mon, 3 Feb 2025 09:51:32 +1300 Subject: Use log crate for printing info and error messages --- src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 4ff35eb..0df1efb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,10 +25,3 @@ pub const DEFAULT_SCREEN_SCALE: NonZeroU32 = unsafe { NonZeroU32::new_unchecked( pub type ScreenPosition = geometry::Point<u16>; pub type ScreenDimensions = geometry::Dimensions<u16>; -#[macro_export] -macro_rules! error { - ($source:expr, $($tokens:tt)*) => {{ - eprint!("[ERROR] [{}]: ", $source); - eprintln!($($tokens)*); - }}; -} -- cgit v1.2.3-70-g09d2