We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0709ae9 commit 2ca9bbbCopy full SHA for 2ca9bbb
time-alarm-service/src/lib.rs
@@ -96,7 +96,7 @@ mod time_zone_data {
96
(|| -> Result<(AcpiTimeZone, AcpiDaylightSavingsTimeStatus), time_alarm_service_messages::AcpiTimeAlarmError> {
97
Ok((representation.tz.try_into()?, representation.dst.try_into()?))
98
})()
99
- .unwrap_or_else(|_| (AcpiTimeZone::Unknown, AcpiDaylightSavingsTimeStatus::NotObserved))
+ .unwrap_or((AcpiTimeZone::Unknown, AcpiDaylightSavingsTimeStatus::NotObserved))
100
}
101
102
0 commit comments