We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d54563 commit 5ccf01dCopy full SHA for 5ccf01d
1 file changed
diesel/src/pg/types/primitives.rs
@@ -15,7 +15,9 @@ impl FromSql<types::Bool, Pg> for bool {
15
16
impl ToSql<types::Bool, Pg> for bool {
17
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)
+ out.write_all(&[*self as u8])
19
+ .map(|_| IsNull::No)
20
+ .map_err(Into::into)
21
}
22
23
0 commit comments