dbg_hex 0.1.1

display dbg result in hexadecimal {:#x?} format
Documentation

dbg_hex

display dbg result in hexadecimal {:#x?} format.

usage

Replace dbg!() with dbg_hex!()

example

use dbg_hex::dbg_hex;
dbg_hex!(0x16 + 0x16);

output

[src/lib.rs:38] 0x16 + 0x16 = 0x2c