debug_concisely 0.1.0

More concise deriver of std::fmt::Debug
Documentation
1
2
3
4
5
6
7
8
9
pub use debug_concisely_derive::*;

pub struct DebugConciselyProxy(pub String);

impl std::fmt::Debug for DebugConciselyProxy {
    fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
        write!(formatter, "{}", self.0)
    }
}