Skip to content

Commit 9dad65e

Browse files
authored
Merge pull request #1241 from SabrinaJewson/remove-dbg
Remove random `dbg!`s
2 parents 2098ac2 + ecd7a9f commit 9dad65e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postgres-types/src/jiff_02.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ impl<'a> FromSql<'a> for DateTime {
5151

5252
impl ToSql for DateTime {
5353
fn to_sql(&self, _: &Type, w: &mut BytesMut) -> Result<IsNull, Box<dyn Error + Sync + Send>> {
54-
let v = dbg!(dbg!(self.since(base())).and_then(|s| s.round(round_us().relative(base()))))
54+
let v = self
55+
.since(base())
56+
.and_then(|s| s.round(round_us().relative(base())))
5557
.map_err(transmit_err)?
5658
.get_microseconds();
5759
types::timestamp_to_sql(v, w);

0 commit comments

Comments
 (0)