Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use cfg! macro instead of #[cfg] attribute (#3446)
this unifies the code path. The alternative will *move* arguments passed to the debug_warn! macro only when compiling without debug_assertions. This version will instead always use additional format arguments by reference.
- Loading branch information