diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-10 01:11:55 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-10 01:11:55 +0100 |
| commit | 525208ec8e86eaf57feb412e6c6c71e6d56d3cb3 (patch) | |
| tree | 54e6192e868e2afd23a724fce0666106248db34b /crates/parser/src/lib.rs | |
| parent | 8077653ddf3d4c555bc90d1647f4a3e9eed576a5 (diff) | |
chore: improve documentation, tests
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/lib.rs')
| -rw-r--r-- | crates/parser/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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)*) => {{}} ); |
