Skip to content

Commit 7b8d796

Browse files
author
Shawn L.
committed
WIP
1 parent 3d3705c commit 7b8d796

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

postgres-types/src/jiff_02.rs

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ 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-
eprintln!("to_sql {:?}", self);
5554
let v = dbg!(dbg!(self.since(base())).and_then(|s| s.round(round_us().relative(base()))))
5655
.map_err(transmit_err)?
5756
.get_microseconds();

tokio-postgres/tests/test/types/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ where
5555
let result = rows[0].get(0);
5656
assert_eq!(val, &result);
5757

58-
eprintln!(
59-
"val: {:?}, result: {:?}, sql_type: {}, repr: {}",
60-
val, result, sql_type, repr
61-
);
62-
6358
let rows = client
6459
.query(&*format!("SELECT $1::{}", sql_type), &[&val])
6560
.await

0 commit comments

Comments
 (0)