We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347915b commit 4d5e5d8Copy full SHA for 4d5e5d8
src/sys/time.rs
@@ -196,7 +196,7 @@ const SECS_PER_HOUR: i64 = 3600;
196
const TS_MAX_SECONDS: i64 = (i64::MAX / NANOS_PER_SEC) - 1;
197
198
#[cfg(target_pointer_width = "32")]
199
-const TS_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
+const TS_MAX_SECONDS: i64 = isize::MAX as i64;
200
201
const TS_MIN_SECONDS: i64 = -TS_MAX_SECONDS;
202
@@ -456,7 +456,7 @@ const MICROS_PER_SEC: i64 = 1_000_000;
456
const TV_MAX_SECONDS: i64 = (i64::MAX / MICROS_PER_SEC) - 1;
457
458
459
-const TV_MAX_SECONDS: i64 = ::std::isize::MAX as i64;
+const TV_MAX_SECONDS: i64 = isize::MAX as i64;
460
461
const TV_MIN_SECONDS: i64 = -TV_MAX_SECONDS;
462
0 commit comments