| Crates.io | dbg_hex |
| lib.rs | dbg_hex |
| version | 0.2.0 |
| created_at | 2021-02-05 23:34:24.083586+00 |
| updated_at | 2024-01-20 18:09:55.57882+00 |
| description | display dbg result in hexadecimal {:#x?} format |
| homepage | |
| repository | https://github.com/wcampbell0x2a/dbg_hex |
| max_upload_size | |
| id | 351347 |
| size | 6,237 |
Display dbg result in hexadecimal {:#x?} format.
Replace dbg!() with dbg_hex!()
use dbg_hex::dbg_hex;
dbg_hex!(0x16 + 0x16);
output
[src/lib.rs:38] 0x16 + 0x16 = 0x2c