Skip to content

Commit 6427e7f

Browse files
committed
Remove unnecessary dbg! invocations
1 parent c2c35d7 commit 6427e7f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/binlog/jsonb.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -792,15 +792,14 @@ impl<'a> Value<'a> {
792792
)))
793793
}
794794
ColumnType::MYSQL_TYPE_TIME => {
795-
let packed_value = dbg!(opaque_value.data_raw())
796-
.first_chunk::<8>()
797-
.ok_or_else(|| {
795+
let packed_value =
796+
opaque_value.data_raw().first_chunk::<8>().ok_or_else(|| {
798797
io::Error::new(
799798
io::ErrorKind::InvalidData,
800799
"not enough data to decode MYSQL_TYPE_TIME",
801800
)
802801
})?;
803-
let packed_value = dbg!(i64::from_le_bytes(*packed_value));
802+
let packed_value = i64::from_le_bytes(*packed_value);
804803
Ok(JsonDom::Scalar(JsonScalar::DateTime(
805804
MysqlTime::from_int64_time_packed(packed_value),
806805
)))

0 commit comments

Comments
 (0)