Skip to content

Commit 5ccf01d

Browse files
committed
Rustfmt (I always forget to do this when I rebase :\ )
1 parent 8d54563 commit 5ccf01d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

diesel/src/pg/types/primitives.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ impl FromSql<types::Bool, Pg> for bool {
1515

1616
impl ToSql<types::Bool, Pg> for bool {
1717
fn to_sql<W: Write>(&self, out: &mut ToSqlOutput<W, Pg>) -> serialize::Result {
18-
out.write_all(&[*self as u8]).map(|_| IsNull::No).map_err(Into::into)
18+
out.write_all(&[*self as u8])
19+
.map(|_| IsNull::No)
20+
.map_err(Into::into)
1921
}
2022
}
2123

0 commit comments

Comments
 (0)