Skip to content

Commit

Permalink
Silence warning for USECS_PER_SEC (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee authored Dec 1, 2022
1 parent a1a3d37 commit fb7ebfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pgx/src/datum/time_stamp_with_timezone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use serde::Deserialize;
use std::convert::TryFrom;
use std::ffi::CStr;

#[allow(dead_code)] // such is cfg life
pub(crate) const USECS_PER_SEC: i64 = 1_000_000;

#[cfg(feature = "time-crate")]
Expand Down

0 comments on commit fb7ebfb

Please sign in to comment.