diff options
| author | Alex Berghage <bearcage@ludumipsum.com> | 2019-01-22 19:31:55 -0700 |
|---|---|---|
| committer | Alex Berghage <bearcage@ludumipsum.com> | 2019-01-22 19:31:55 -0700 |
| commit | 41be93c2f694b6b8c493b255d2e77c0703135b14 (patch) | |
| tree | d8cf70c02c2a0d6a5bfceb101fda1321f1e07f21 /src/libstd | |
| parent | 0f566ec5751aebaf2261c267f1ff172ec43ab2e0 (diff) | |
| download | rust-41be93c2f694b6b8c493b255d2e77c0703135b14.tar.gz rust-41be93c2f694b6b8c493b255d2e77c0703135b14.zip | |
Rebase and fix new instantiation fn
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/windows/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/time.rs b/src/libstd/sys/windows/time.rs index 113affb737e..fe3766f25c8 100644 --- a/src/libstd/sys/windows/time.rs +++ b/src/libstd/sys/windows/time.rs @@ -43,7 +43,7 @@ impl Instant { } pub const fn zero() -> Instant { - Instant { t: 0 } + Instant { t: Duration::from_secs(0) } } pub fn sub_instant(&self, other: &Instant) -> Duration { |
