Skip to content

Commit

Permalink
fix: borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy-lmao committed Jul 9, 2024
1 parent 9e193e5 commit 1e73ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-postgres/src/types/cube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<'q> Encode<'q, Postgres> for PgCube {
}

fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> Result<IsNull, BoxDynError> {
&self.serialize(buf)?;
self.serialize(buf)?;
Ok(IsNull::No)
}
}
Expand Down

0 comments on commit 1e73ab5

Please sign in to comment.