27f2cba623
Currently we are manually adding `0x` in calls to `write!`, this is unnecessary since the alternate form already adds the `0x`. Was verified with ``` #[test] fn bad_checksum_error_hex_format() { let want = "invalid base58 character 0xab"; let got = format!("{}", Error::BadByte(0xAB)); assert_eq!(got, want) } ``` Use alternate form to print hex. |
||
---|---|---|
.. | ||
contrib | ||
examples | ||
src | ||
tests | ||
Cargo.toml |