Skip to content

Commit a122a06

Browse files
committed
fix fmt error
1 parent 14eefef commit a122a06

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • diesel/src/pg/types/date_and_time

diesel/src/pg/types/date_and_time/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ impl PgInterval {
5858
/// days greater than the longest possible month, as it is impossible to say
5959
/// how many months are in "40 days" without knowing a precise date.
6060
pub fn new(microseconds: i64, days: i32, months: i32) -> Self {
61-
PgInterval { microseconds, days, months }
61+
PgInterval {
62+
microseconds,
63+
days,
64+
months,
65+
}
6266
}
6367

6468
/// Equivalent to `new(microseconds, 0, 0)`

0 commit comments

Comments
 (0)