Skip to content

Commit a35aeb5

Browse files
style: remove unnecessary use of format_args!
1 parent 5622a69 commit a35aeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres-types/src/pg_lsn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl fmt::Display for PgLsn {
5252

5353
impl fmt::Debug for PgLsn {
5454
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
55-
f.write_fmt(format_args!("{self}"))
55+
fmt::Display::fmt(self, f)
5656
}
5757
}
5858

0 commit comments

Comments
 (0)