Skip to content

Commit 6c18ac0

Browse files
committed
rustfmt
1 parent 7faeea5 commit 6c18ac0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

postgres-types/src/chrono_04.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ use std::error::Error;
66
use crate::{FromSql, IsNull, ToSql, Type};
77

88
fn base() -> NaiveDateTime {
9-
NaiveDate::from_ymd_opt(2000, 1, 1).unwrap().and_hms_opt(0, 0, 0).unwrap()
9+
NaiveDate::from_ymd_opt(2000, 1, 1)
10+
.unwrap()
11+
.and_hms_opt(0, 0, 0)
12+
.unwrap()
1013
}
1114

1215
impl<'a> FromSql<'a> for NaiveDateTime {

0 commit comments

Comments
 (0)