Skip to content

Commit 2050a3b

Browse files
committed
std: fix more typos
1 parent 0d797d2 commit 2050a3b

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/sys/pal/uefi

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ pub(crate) mod system_time_internal {
188188
Duration::new(epoch, t.nanosecond)
189189
}
190190

191-
/// This algorithm is a modifed version of the one described in the post:
191+
/// This algorithm is a modified version of the one described in the post:
192192
/// https://howardhinnant.github.io/date_algorithms.html#clive_from_days
193193
///
194194
/// 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 {
197197
// Check timzone validity
198198
assert!(timezone <= 1440 && timezone >= -1440);
199199

200-
// FIXME(#126043): use checked_sub_signed once stablized
200+
// FIXME(#126043): use checked_sub_signed once stabilized
201201
let secs =
202202
dur.as_secs().checked_add_signed((-timezone as i64) * SECS_IN_MINUTE as i64).unwrap();
203203

0 commit comments

Comments
 (0)