From 525208ec8e86eaf57feb412e6c6c71e6d56d3cb3 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Wed, 10 Jan 2024 01:11:55 +0100 Subject: chore: improve documentation, tests Signed-off-by: Henry Gressmann --- crates/parser/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/parser/src/lib.rs') diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index 22e2661..561d5c6 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -10,6 +10,7 @@ extern crate alloc; #[allow(clippy::single_component_path_imports)] use log; +// noop fallback if logging is disabled. #[cfg(not(feature = "logging"))] mod log { macro_rules! debug ( ($($tt:tt)*) => {{}} ); -- cgit v1.3.1