diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 21:19:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-28 21:19:59 +0200 |
| commit | 117fa1de982da53977692c4636d58730c8a75b10 (patch) | |
| tree | 5ea0c56491604c6988663164bfd067e6550615cc /src/librustc_codegen_utils/codegen_backend.rs | |
| parent | a3cae5740cca893204c4d6d9fe43506f0eec8441 (diff) | |
| parent | 55c07b39ae89408c08de4781b2051cc4c7cc7b20 (diff) | |
| download | rust-117fa1de982da53977692c4636d58730c8a75b10.tar.gz rust-117fa1de982da53977692c4636d58730c8a75b10.zip | |
Rollup merge of #63053 - kornelski:clockdrift, r=shepmaster
SystemTime docs: recommend Instant for elapsed time Introduction to `SystemTime` mentions problems with non-monotonic clocks, but individual methods don't. For benefit of users who jump directly to method's documentation, also recommend `Instant` in `elapsed` and `duration_since`. `SystemTime::elapsed()` docs overpromised the elapsed time. It's not elapsed time, but a difference between two clocks.
Diffstat (limited to 'src/librustc_codegen_utils/codegen_backend.rs')
0 files changed, 0 insertions, 0 deletions
