@@ -110,13 +110,13 @@ impl<C> Deref for Ref<'_, C> {
110110/// by changing the era/calendar. Furthermore, this is not the case for [`Date::try_from_fields`] and
111111/// date arithmetic APIs: these APIs let you construct dates outside of that range.
112112///
113- /// `Date` types have a fundamental range invariant as well, and ICU4X will refuse to construct
113+ /// The `Date` type has a fundamental range invariant as well, and it's not possible to construct
114114/// dates outside of that range, regardless of the calendar.
115- /// ICU4X APIs will return an `Overflow` error (e.g. `DateAddError::Overflow`) in these cases, or clamp
115+ /// APIs will return an `Overflow` error (e.g. `DateAddError::Overflow`) in these cases, or clamp
116116/// in the case of `Date::from_rata_die()`.
117117///
118118/// This range is currently dates with an ISO year between `-999_999..=999_999`, but
119- /// ICU4X reserves the right to change these bounds in the future.
119+ /// we reserve the right to change these bounds in the future.
120120///
121121/// Since `icu_calendar` is intended to be usable by implementors of the ECMA Temporal specification,
122122/// this range will never be smaller than Temporal's validity range, which roughly maps to ISO years
@@ -338,7 +338,7 @@ impl<A: AsCalendar> Date<A> {
338338 self . calendar . as_calendar ( ) . months_in_year ( self . inner ( ) )
339339 }
340340
341- /// Add a `duration` to this date , mutating it
341+ /// Add a `duration` to this [`Date`] , mutating it.
342342 ///
343343 /// This API will not construct dates outside of the fundamental range described on the [`Date`] type,
344344 /// instead returning [`DateAddError::Overflow`].
@@ -366,15 +366,11 @@ impl<A: AsCalendar> Date<A> {
366366 Ok ( ( ) )
367367 }
368368
369- /// Add a `duration` to this date, returning the new one .
369+ /// Add a `duration` to this [`Date`] .
370370 ///
371371 /// This API will not construct dates outside of the fundamental range described on the [`Date`] type,
372372 /// instead returning [`DateAddError::Overflow`].
373373 ///
374- /// This clones the calendar: the calendars in this crate are cheap to clone (and usually `Copy`), but
375- /// the `A` wrapper you are using may not be. Consider using a wrapper like [`Ref`] for `A` if the cloning
376- /// will be a problem.
377- ///
378374 /// <div class="stab unstable">
379375 /// 🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
380376 /// including in SemVer minor releases. Do not use this type unless you are prepared for things to occasionally break.
0 commit comments