Macro debugit::debugit [] [src]

macro_rules! debugit {
    ($message:expr, $($value:expr),*) => { ... };
}

Print a message, and then each value's debug representation (if it has one)

NOTE: This macro has no format string, only a message and a list of values.

Examples

#[macro_use] extern crate debugit;

fn process_something<T>(x: T) {
    debugit!("starting with", x);
}