We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b9fc4 commit ea8ac98Copy full SHA for ea8ac98
1 file changed
src/builtins/core/date.rs
@@ -111,7 +111,6 @@ impl PartialDate {
111
),
112
};
113
114
- #[allow(clippy::needless_update)]
115
{
116
Ok(Self {
117
year: Some(self.year.unwrap_or(fallback.year_with_provider(provider)?)),
@@ -121,7 +120,6 @@ impl PartialDate {
121
120
era,
122
era_year,
123
calendar: fallback.calendar().clone(),
124
- ..Default::default()
125
})
126
}
127
0 commit comments