Skip to content

Commit

Permalink
Fix warnings (unused macros/imports) when building with nostd
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Apr 9, 2024
1 parent 6a2bfe7 commit b649967
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/debug.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(unused_imports)]

use crate::ParseResult;

pub(crate) mod macros {
Expand All @@ -12,6 +14,7 @@ pub(crate) mod macros {
};
}

#[allow(unused_macros)]
macro_rules! trace_eprintln {
($msg: expr, $( $args:expr ),* ) => {
#[cfg(feature = "trace")]
Expand Down

0 comments on commit b649967

Please sign in to comment.