Skip to content

Commit 4d5e5d8

Browse files
committed
remove deprecated items
1 parent 347915b commit 4d5e5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sys/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const SECS_PER_HOUR: i64 = 3600;
196196
const TS_MAX_SECONDS: i64 = (i64::MAX / NANOS_PER_SEC) - 1;
197197

198198
#[cfg(target_pointer_width = "32")]
199-
const TS_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
199+
const TS_MAX_SECONDS: i64 = isize::MAX as i64;
200200

201201
const TS_MIN_SECONDS: i64 = -TS_MAX_SECONDS;
202202

@@ -456,7 +456,7 @@ const MICROS_PER_SEC: i64 = 1_000_000;
456456
const TV_MAX_SECONDS: i64 = (i64::MAX / MICROS_PER_SEC) - 1;
457457

458458
#[cfg(target_pointer_width = "32")]
459-
const TV_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
459+
const TV_MAX_SECONDS: i64 = isize::MAX as i64;
460460

461461
const TV_MIN_SECONDS: i64 = -TV_MAX_SECONDS;
462462

0 commit comments

Comments
 (0)