summaryrefslogtreecommitdiff
path: root/src/sys/time.rs
diff options
context:
space:
mode:
authorSteveLauC <stevelauc@outlook.com>2022-08-09 12:22:41 +0800
committerSteveLauC <stevelauc@outlook.com>2022-08-09 12:22:41 +0800
commit4d5e5d83f824f0ff2368636753e68ec189cf3a52 (patch)
tree8d9a7be9ff208317d6354e566a7b61820f4be676 /src/sys/time.rs
parent347915bdb590d9b3437b9c5c69c6f1652017d325 (diff)
downloadnix-4d5e5d83f824f0ff2368636753e68ec189cf3a52.zip
remove deprecated items
Diffstat (limited to 'src/sys/time.rs')
-rw-r--r--src/sys/time.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/time.rs b/src/sys/time.rs
index e7a72f02..0cac7e8a 100644
--- a/src/sys/time.rs
+++ b/src/sys/time.rs
@@ -196,7 +196,7 @@ const SECS_PER_HOUR: i64 = 3600;
const TS_MAX_SECONDS: i64 = (i64::MAX / NANOS_PER_SEC) - 1;
#[cfg(target_pointer_width = "32")]
-const TS_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
+const TS_MAX_SECONDS: i64 = isize::MAX as i64;
const TS_MIN_SECONDS: i64 = -TS_MAX_SECONDS;
@@ -456,7 +456,7 @@ const MICROS_PER_SEC: i64 = 1_000_000;
const TV_MAX_SECONDS: i64 = (i64::MAX / MICROS_PER_SEC) - 1;
#[cfg(target_pointer_width = "32")]
-const TV_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
+const TV_MAX_SECONDS: i64 = isize::MAX as i64;
const TV_MIN_SECONDS: i64 = -TV_MAX_SECONDS;