diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-07 01:18:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 01:18:03 +0200 |
| commit | e735247289a07c39a6269e6f53e8a85dc8d59271 (patch) | |
| tree | fc440c81ea239fdd74b16631e44738f2baf59b9b | |
| parent | 8ff13f4fd268dbd3cd7dd6d0b9680114df03f70c (diff) | |
| parent | 8f11127d893bb46228c2ce5bb1753e28a6dc4a47 (diff) | |
| download | rust-e735247289a07c39a6269e6f53e8a85dc8d59271.tar.gz rust-e735247289a07c39a6269e6f53e8a85dc8d59271.zip | |
Rollup merge of #76312 - numbermaniac:patch-1, r=shepmaster
time.rs: Make spelling of "Darwin" consistent On line 89 of this file, the OS name is written as "Darwin", but on line 162 it is written in all-caps. Darwin is usually spelt as a standard proper noun, i.e. "Darwin", rather than in all-caps. This change makes that form consistent in both places.
| -rw-r--r-- | library/std/src/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs index 73c0a7b403a..575882eb459 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -159,7 +159,7 @@ pub struct Instant(time::Instant); /// | CloudABI | [clock_time_get (Realtime Clock)] | /// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] | /// | UNIX | [clock_gettime (Realtime Clock)] | -/// | DARWIN | [gettimeofday] | +/// | Darwin | [gettimeofday] | /// | VXWorks | [clock_gettime (Realtime Clock)] | /// | WASI | [__wasi_clock_time_get (Realtime Clock)] | /// | Windows | [GetSystemTimePreciseAsFileTime] / [GetSystemTimeAsFileTime] | |
