Skip to content

Commit c0220d8

Browse files
committed
Run 'cargo +nightly fmt' on this. Options in rustfmt.toml apply only in nightly channel.
1 parent 9309183 commit c0220d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/primitives/hrp.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ impl fmt::Display for Error {
393393
use Error::*;
394394

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

0 commit comments

Comments
 (0)