Uh oh!
There was an error while loading. Please reload this page.
Implement core::fmt::Display for HumanReadableName - #3829
Conversation
👋 Thanks for assigning @TheBlueMatt as a reviewer! |
tnull
left a comment
There was a problem hiding this comment.
Basically LGTM, one comment.
| } | ||
| } | ||
| impl std::fmt::Display for HumanReadableName { |
There was a problem hiding this comment.
As we want to keep this crate no_std-compatible, please use core::fmt instead of std::fmt. Any uses of std would need to be feature-gated behind the std feature, but in this case there is no reason to.
ldk-reviews-bot
commented
Jun 5, 2025
👋 The first review has been submitted! Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer. |
209f0f2 to
004937bCompareTheBlueMatt
commented
Jun 5, 2025
Feel free to squash the fixups, which should fix CI. |
004937b to
3484eb0Comparechuksys
commented
Jun 5, 2025
I think I need to add a test case that asserts the correct HRN display format, for mutation testing to pass in CI. |
3484eb0 to
81b201aCompare
Closes#3823
This PR implements
DisplayforHumanReadableNamewhich allows us to print a HRN as₿user@domain.