We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14eefef commit a122a06Copy full SHA for a122a06
1 file changed
diesel/src/pg/types/date_and_time/mod.rs
@@ -58,7 +58,11 @@ impl PgInterval {
58
/// days greater than the longest possible month, as it is impossible to say
59
/// how many months are in "40 days" without knowing a precise date.
60
pub fn new(microseconds: i64, days: i32, months: i32) -> Self {
61
- PgInterval { microseconds, days, months }
+ PgInterval {
62
+ microseconds,
63
+ days,
64
+ months,
65
+ }
66
}
67
68
/// Equivalent to `new(microseconds, 0, 0)`
0 commit comments