Skip to content

Commit dbad4fe

Browse files
committed
Clippy lint
1 parent 0412505 commit dbad4fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tzdb.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ impl Tzif {
189189
"No POSIX tz string to resolve with.",
190190
))?,
191191
epoch_seconds.0,
192-
)
193-
.into();
192+
);
194193
}
195194
Ok(get_local_record(db, idx - 1).into())
196195
}
@@ -430,7 +429,7 @@ fn cmp_seconds_to_transitions(
430429
} else {
431430
*start <= day_in_year && day_in_year < *end
432431
};
433-
(is_transition, is_dst)
432+
(is_transition, is_dst)
434433
}
435434
// NOTE: The assumption here is that mismatched day types on
436435
// a POSIX string is an illformed string.

0 commit comments

Comments
 (0)