Fix some clippy warnings
This commit is contained in:
parent
e912d6db1a
commit
38e7d02f61
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ impl DateRange {
|
|||
|
||||
pub fn days(&self) -> impl Iterator<Item = NaiveDate> {
|
||||
(self.from.num_days_from_ce()..=self.until.num_days_from_ce())
|
||||
.map(|n| NaiveDate::from_num_days_from_ce(n))
|
||||
.map(NaiveDate::from_num_days_from_ce)
|
||||
}
|
||||
|
||||
pub fn years(&self) -> RangeInclusive<i32> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue