Fix Clippy lints: match_same_arms
This commit is contained in:
parent
0dc4e3a416
commit
330504792b
|
@ -237,7 +237,7 @@ impl<'a> Iterator for StrftimeItems<'a> {
|
|||
'Y' => num0!(Year),
|
||||
'Z' => fix!(TimezoneName),
|
||||
'a' => fix!(ShortWeekdayName),
|
||||
'b' => fix!(ShortMonthName),
|
||||
'b' | 'h' => fix!(ShortMonthName),
|
||||
'c' => recons![fix!(ShortWeekdayName), sp!(" "), fix!(ShortMonthName),
|
||||
sp!(" "), nums!(Day), sp!(" "), num0!(Hour), lit!(":"),
|
||||
num0!(Minute), lit!(":"), num0!(Second), sp!(" "), num0!(Year)],
|
||||
|
@ -245,7 +245,6 @@ impl<'a> Iterator for StrftimeItems<'a> {
|
|||
'e' => nums!(Day),
|
||||
'f' => num0!(Nanosecond),
|
||||
'g' => num0!(IsoYearMod100),
|
||||
'h' => fix!(ShortMonthName),
|
||||
'j' => num0!(Ordinal),
|
||||
'k' => nums!(Hour),
|
||||
'l' => nums!(Hour12),
|
||||
|
|
Loading…
Reference in New Issue