Skip to content

Commit ce0b499

Browse files
committed
bool
1 parent 133c660 commit ce0b499

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/array_decoder/timestamp.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ fn get_timestamp_decoder<T: ArrowTimestampType + Send>(
8080
match stripe.writer_tz() {
8181
Some(writer_tz) => {
8282
let reader_tz = iana_time_zone::get_timezone().ok();
83-
let has_same_tz_rules = if reader_tz == Some(writer_tz.name().to_string()) {
84-
true
85-
} else {
86-
false
87-
};
83+
let has_same_tz_rules = reader_tz == Some(writer_tz.name().to_string());
8884
Box::new(TimestampOffsetArrayDecoder {
8985
inner,
9086
writer_tz,

0 commit comments

Comments
 (0)