Skip to content

Commit

Permalink
Run 'cargo +nightly fmt' on this. Options in rustfmt.toml apply only …
Browse files Browse the repository at this point in the history
…in nightly channel.
  • Loading branch information
DariuszDepta committed Mar 5, 2024
1 parent 9309183 commit c0220d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/primitives/hrp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ impl fmt::Display for Error {
use Error::*;

match *self {
TooLong(len) => write!(f, "hrp is too long, found {} characters, must be <= {}", len, MAX_HRP_LEN),
TooLong(len) =>
write!(f, "hrp is too long, found {} characters, must be <= {}", len, MAX_HRP_LEN),
Empty => write!(f, "hrp is empty, must have at least 1 character"),
NonAsciiChar(c) => write!(f, "found non-ASCII character: {}", c),
InvalidAsciiByte(b) => write!(f, "byte value is not valid US-ASCII: \'{:x}\'", b),
Expand Down

0 comments on commit c0220d8

Please sign in to comment.