diff --git a/sqlx-postgres/src/copy.rs b/sqlx-postgres/src/copy.rs index d2fe7215d6..26e02e3b67 100644 --- a/sqlx-postgres/src/copy.rs +++ b/sqlx-postgres/src/copy.rs @@ -216,7 +216,7 @@ impl> PgCopyIn { let buf = conn.stream.write_buffer_mut(); // Write the CopyData format code and reserve space for the length. - // This may end up sending an empty `CopyData` packet if, after this point, + // This may end up sending an empty `CopyData` packet if, after this point, // we get canceled or read 0 bytes, but that should be fine. buf.put_slice(b"d\0\0\0\x04"); diff --git a/sqlx-postgres/src/types/cube.rs b/sqlx-postgres/src/types/cube.rs index a9c7e82bfb..81bacaa26c 100644 --- a/sqlx-postgres/src/types/cube.rs +++ b/sqlx-postgres/src/types/cube.rs @@ -48,7 +48,7 @@ impl<'q> Encode<'q, Postgres> for PgCube { } fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> Result { - &self.serialize(buf)?; + &self.serialize(buf)?; Ok(IsNull::No) } diff --git a/sqlx-sqlite/src/connection/establish.rs b/sqlx-sqlite/src/connection/establish.rs index cc99637667..a00461142e 100644 --- a/sqlx-sqlite/src/connection/establish.rs +++ b/sqlx-sqlite/src/connection/establish.rs @@ -294,7 +294,7 @@ impl EstablishParams { transaction_depth: 0, log_settings: self.log_settings.clone(), progress_handler_callback: None, - update_hook_callback: None + update_hook_callback: None, }) } }