Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Dec 5, 2023
1 parent ccca394 commit 8e95cb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/calendar/src/calendar_arithmetic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ pub(crate) trait PrecomputedDataSource<YearInfo> {
}

impl PrecomputedDataSource<()> for () {
fn load_or_compute_info(&self, _year: i32) -> () {
()
}
fn load_or_compute_info(&self, _year: i32) {}
}

impl<C: CalendarArithmetic> ArithmeticDate<C> {
Expand Down

0 comments on commit 8e95cb5

Please sign in to comment.