This would allow serializing into a fmt::Formatter without needing temporary allocations.
After fixing this we should also check the fmt::Display impls that use base58 encoding to make sure they're using the underlying base58ck function rather than serializing to a string then copying.