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()
|
||||
.filter_map(|s| s.earliest)
|
||||
.min()
|
||||
.unwrap_or_else(|| Utc::now())
|
||||
.unwrap_or_else(Utc::now)
|
||||
.date_naive();
|
||||
let today = Utc::now().date_naive();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user