diff options
| author | binarycat <binarycat@envs.net> | 2025-08-16 10:34:55 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-08-16 13:36:29 -0500 |
| commit | 2050a3b297d8878f232d28d48aa1a3a12d1616ee (patch) | |
| tree | 08989580b5113711dedcba3d4df5a4ed1a755351 /library/std/src/sys | |
| parent | 0d797d23cfbe26d50b5405c72b5a791b6dc58b3d (diff) | |
| download | rust-2050a3b297d8878f232d28d48aa1a3a12d1616ee.tar.gz rust-2050a3b297d8878f232d28d48aa1a3a12d1616ee.zip | |
std: fix more typos
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/pal/uefi/time.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/uefi/time.rs b/library/std/src/sys/pal/uefi/time.rs index df5611b2ddd..74817865941 100644 --- a/library/std/src/sys/pal/uefi/time.rs +++ b/library/std/src/sys/pal/uefi/time.rs @@ -188,7 +188,7 @@ pub(crate) mod system_time_internal { Duration::new(epoch, t.nanosecond) } - /// This algorithm is a modifed version of the one described in the post: + /// This algorithm is a modified version of the one described in the post: /// https://howardhinnant.github.io/date_algorithms.html#clive_from_days /// /// The changes are to use 1900-01-01-00:00:00 with timezone -1440 as anchor instead of UNIX @@ -197,7 +197,7 @@ pub(crate) mod system_time_internal { // Check timzone validity assert!(timezone <= 1440 && timezone >= -1440); - // FIXME(#126043): use checked_sub_signed once stablized + // FIXME(#126043): use checked_sub_signed once stabilized let secs = dur.as_secs().checked_add_signed((-timezone as i64) * SECS_IN_MINUTE as i64).unwrap(); |
