Skip to content

Commit 7113e69

Browse files
committed
Fix typos
1 parent 3d0e949 commit 7113e69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/builtins/core/duration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ impl Duration {
606606
///
607607
/// Spec: <https://tc39.es/proposal-temporal/#sec-temporal.duration.prototype.round>
608608
///
609-
// Spec last accesed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
609+
// Spec last accessed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
610610
#[inline]
611611
pub fn round_with_provider(
612612
&self,

src/options.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ impl UnitGroup {
335335
///
336336
/// Spec: <https://tc39.es/proposal-temporal/#table-temporal-units>
337337
//
338-
// Spec last accesed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
338+
// Spec last accessed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
339339
const UNIT_VALUE_TABLE: [Unit; 10] = [
340340
Unit::Year,
341341
Unit::Month,
@@ -455,7 +455,7 @@ impl Unit {
455455
///
456456
/// Spec: <https://tc39.es/proposal-temporal/#sec-temporal-largeroftwotemporalunits>
457457
//
458-
// Spec last accesed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
458+
// Spec last accessed: 2025-05-16, <https://github.com/tc39/proposal-temporal/tree/c150e7135c56afc9114032e93b53ac49f980d254>
459459
#[inline]
460460
#[must_use]
461461
pub fn larger(u1: Unit, u2: Unit) -> Unit {
@@ -472,7 +472,7 @@ impl Unit {
472472
}
473473
}
474474

475-
// TODO: Is this correct???
475+
// NOTE(HalidOdat): deviation from specification.
476476
Unit::Auto
477477
}
478478
}

0 commit comments

Comments
 (0)