Skip to content

Commit 41be93c

Browse files
committed
Rebase and fix new instantiation fn
1 parent 0f566ec commit 41be93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl Instant {
4343
}
4444

4545
pub const fn zero() -> Instant {
46-
Instant { t: 0 }
46+
Instant { t: Duration::from_secs(0) }
4747
}
4848

4949
pub fn sub_instant(&self, other: &Instant) -> Duration {

0 commit comments

Comments
 (0)