fix: resolve clippy redundant_closure warning in moments-api
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -170,7 +170,7 @@ async fn og_contributions(
|
|||||||
.iter()
|
.iter()
|
||||||
.filter_map(|s| s.earliest)
|
.filter_map(|s| s.earliest)
|
||||||
.min()
|
.min()
|
||||||
.unwrap_or_else(|| Utc::now())
|
.unwrap_or_else(Utc::now)
|
||||||
.date_naive();
|
.date_naive();
|
||||||
let today = Utc::now().date_naive();
|
let today = Utc::now().date_naive();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user