Skip to content

Commit fd51eb5

Browse files
committed
fix remaining clippy error
1 parent bf46433 commit fd51eb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • datafusion/spark/src/function/string

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ mod tests {
551551
fn hex_encode(bytes: &[u8]) -> String {
552552
bytes
553553
.iter()
554-
.map(|b| format!("{:02X}", b))
554+
.map(|b| format!("{b:02X}"))
555555
.collect::<String>()
556556
}
557557
}

0 commit comments

Comments
 (0)