Skip to content

Commit 732a604

Browse files
committed
fix the fmt error
1 parent fd51eb5 commit 732a604

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • datafusion/spark/src/function/string

datafusion/spark/src/function/string/encode.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,6 @@ mod tests {
549549

550550
/// Simple hex encoding for test assertions.
551551
fn hex_encode(bytes: &[u8]) -> String {
552-
bytes
553-
.iter()
554-
.map(|b| format!("{b:02X}"))
555-
.collect::<String>()
552+
bytes.iter().map(|b| format!("{b:02X}")).collect::<String>()
556553
}
557554
}

0 commit comments

Comments
 (0)