We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5a7ef commit f3c3f0eCopy full SHA for f3c3f0e
src/dist/dist.rs
@@ -685,7 +685,7 @@ fn update_from_dist_<'a>(
685
// bunch of the tests, which (inexplicably) use 2015-01-01 as their manifest dates.
686
let first_manifest = Utc.from_utc_date(&NaiveDate::from_ymd(2014, 12, 20));
687
let old_manifest = old_date
688
- .and_then(|date| utc_from_manifest_date(date))
+ .and_then(utc_from_manifest_date)
689
.unwrap_or(first_manifest);
690
let last_manifest = if allow_downgrade {
691
first_manifest
0 commit comments