Skip to content

Debug two types as compact hex strings

Ian Jackson requested to merge Diziet/arti:debug-hex into main

While trying to figure out how the behaviour of Arti differed from C Tor, I found myself using the Debug impls of these types and they were pretty bad. Introduce a convenient facility for making better ones, and use it in two places.

We may want to do this more widely, but it will be more convenient to do it on demand...

Merge request reports