Skip to content

Commit 1060c59

Browse files
committed
Fix fmt
1 parent f1c7924 commit 1060c59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

idna/tests/uts46.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ fn unescape(input: &str) -> String {
161161
match char::from_u32(((c1 * 16 + c2) * 16 + c3) * 16 + c4) {
162162
Some(c) => output.push(c),
163163
None => {
164-
write!(&mut output,"\\u{:X}{:X}{:X}{:X}", c1, c2, c3, c4).expect("Could not write to output");
164+
write!(&mut output, "\\u{:X}{:X}{:X}{:X}", c1, c2, c3, c4)
165+
.expect("Could not write to output");
165166
}
166167
};
167168
}

0 commit comments

Comments
 (0)