Skip to content

Commit 2a2c120

Browse files
committed
time: Fix spelling of Apple OS
1 parent 71b0663 commit 2a2c120

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/unix/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl fmt::Debug for SystemTime {
6767
impl Timespec {
6868
const MAX: Timespec = unsafe { Self::new_unchecked(i64::MAX, 1_000_000_000 - 1) };
6969

70-
// As described below, on AppleOS, dates before epoch are represented differently.
70+
// As described below, on Apple OS, dates before epoch are represented differently.
7171
// This is not an issue here however, because we are using tv_sec = i64::MIN,
7272
// which will cause the compatibility wrapper to not be executed at all.
7373
const MIN: Timespec = unsafe { Self::new_unchecked(i64::MIN, 0) };

0 commit comments

Comments
 (0)