Skip to content

Commit 080991a

Browse files
committed
Clippy insisted on backticks (take 2)
1 parent 1aabea9 commit 080991a

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
@@ -769,7 +769,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
769769
week_day_checker.surpasses_week_day(duration)
770770
}
771771

772-
/// Prepares a stateful checker for month iteration in surpasses().
772+
/// Prepares a stateful checker for month iteration in `surpasses()`.
773773
fn surpasses_month_checker<'a>(
774774
&'a self,
775775
other: &'a Self,
@@ -814,7 +814,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
814814
}
815815
}
816816

817-
/// Prepares a stateful checker for week and day iteration in surpasses().
817+
/// Prepares a stateful checker for week and day iteration in `surpasses()`.
818818
fn surpasses_week_day_checker<'a>(
819819
&'a self,
820820
other: &'a Self,
@@ -834,7 +834,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
834834
self.surpasses_week_day_checker_from_months_added(&month_checker, months_added)
835835
}
836836

837-
/// Prepares a checker for week and day iteration from an existing months_added date.
837+
/// Prepares a checker for week and day iteration from an existing `months_added` date.
838838
fn surpasses_week_day_checker_from_months_added<'a>(
839839
&'a self,
840840
month_checker: &SurpassesMonthChecker<'a, C>,
@@ -1110,7 +1110,7 @@ impl<C: DateFieldsResolver> ArithmeticDate<C> {
11101110
}
11111111
}
11121112

1113-
/// Stateful checker for month iteration in surpasses().
1113+
/// Stateful checker for month iteration in `surpasses()`.
11141114
///
11151115
/// By saving intermediary computations based on a fixed year,
11161116
/// only the computations relating to the month are done. The week
@@ -1146,7 +1146,7 @@ impl<'a, C: DateFieldsResolver> SurpassesMonthChecker<'a, C> {
11461146
}
11471147
}
11481148

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

0 commit comments

Comments
 (0)