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 0f566ec commit 41be93cCopy full SHA for 41be93c
src/libstd/sys/windows/time.rs
@@ -43,7 +43,7 @@ impl Instant {
43
}
44
45
pub const fn zero() -> Instant {
46
- Instant { t: 0 }
+ Instant { t: Duration::from_secs(0) }
47
48
49
pub fn sub_instant(&self, other: &Instant) -> Duration {
0 commit comments