Skip to content

Commit e735247

Browse files
authored
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.
2 parents 8ff13f4 + 8f11127 commit e735247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pub struct Instant(time::Instant);
159159
/// | CloudABI | [clock_time_get (Realtime Clock)] |
160160
/// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
161161
/// | UNIX | [clock_gettime (Realtime Clock)] |
162-
/// | DARWIN | [gettimeofday] |
162+
/// | Darwin | [gettimeofday] |
163163
/// | VXWorks | [clock_gettime (Realtime Clock)] |
164164
/// | WASI | [__wasi_clock_time_get (Realtime Clock)] |
165165
/// | Windows | [GetSystemTimePreciseAsFileTime] / [GetSystemTimeAsFileTime] |

0 commit comments

Comments
 (0)