Skip to content

Commit 30170ce

Browse files
committed
fmt
1 parent 4c756d0 commit 30170ce

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

arrow-json/src/reader/tape.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -711,11 +711,9 @@ fn char_from_surrogate_pair(low: u16, high: u16) -> Result<char, ArrowError> {
711711
char::from_u32(n)
712712
.ok_or_else(|| ArrowError::JsonError(format!("Invalid UTF-16 surrogate pair {n}")))
713713
}
714-
_ => {
715-
Err(ArrowError::JsonError(format!(
716-
"Invalid UTF-16 surrogate pair. High: {high:#02X}, Low: {low:#02X}"
717-
)))
718-
}
714+
_ => Err(ArrowError::JsonError(format!(
715+
"Invalid UTF-16 surrogate pair. High: {high:#02X}, Low: {low:#02X}"
716+
))),
719717
}
720718
}
721719

0 commit comments

Comments
 (0)