mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-15 01:45:02 +01:00
more better working debug
This commit is contained in:
parent
08d1f01802
commit
01e6d7802e
5 changed files with 34 additions and 6 deletions
|
|
@ -11,7 +11,7 @@ use std::fmt::Display;
|
|||
|
||||
#[cfg(feature = "_debug")]
|
||||
pub fn dbg(prefix: impl Display, x: impl dbg_pls::DebugPls) {
|
||||
eprintln!("{prefix}{}", dbg_pls::pretty(&x))
|
||||
eprintln!("{prefix}{}", dbg_pls::color(&x))
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "_debug"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue