Skip to content

Commit e84be6e

Browse files
committed
Clippy insisted on backticks
1 parent 431b775 commit e84be6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/calendar/src/calendar_arithmetic.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
765765
week_day_checker.surpasses_week_day(duration)
766766
}
767767

768-
/// Prepares a stateful checker for month iteration in surpasses().
768+
/// Prepares a stateful checker for month iteration in `surpasses()`.
769769
fn surpasses_month_checker<'a>(
770770
&'a self,
771771
other: &'a Self,
@@ -810,7 +810,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
810810
}
811811
}
812812

813-
/// Prepares a stateful checker for week and day iteration in surpasses().
813+
/// Prepares a stateful checker for week and day iteration in `surpasses()`.
814814
fn surpasses_week_day_checker<'a>(
815815
&'a self,
816816
other: &'a Self,
@@ -830,7 +830,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
830830
self.surpasses_week_day_checker_from_months_added(&month_checker, months_added)
831831
}
832832

833-
/// Prepares a checker for week and day iteration from an existing months_added date.
833+
/// Prepares a checker for week and day iteration from an existing `months_added` date.
834834
fn surpasses_week_day_checker_from_months_added<'a>(
835835
&'a self,
836836
month_checker: &SurpassesMonthChecker<'a, C>,
@@ -1106,7 +1106,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
11061106
}
11071107
}
11081108

1109-
/// Stateful checker for month iteration in surpasses().
1109+
/// Stateful checker for month iteration in `surpasses()`.
11101110
///
11111111
/// By saving intermediary computations based on a fixed year,
11121112
/// only the computations relating to the month are done. The week
@@ -1142,7 +1142,7 @@ impl<'a, C: DateFieldsResolver> SurpassesMonthChecker<'a, C> {
11421142
}
11431143
}
11441144

1145-
/// Stateful checker for week and day iteration in surpasses().
1145+
/// Stateful checker for week and day iteration in `surpasses()`.
11461146
///
11471147
/// By saving intermediary computations based on a fixed year and month,
11481148
/// only the computations relating to the week and day are done.

0 commit comments

Comments
 (0)