Skip to content

Commit 059def8

Browse files
committed
fix style.
1 parent fbcadfd commit 059def8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

arrow-cast/src/cast/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4343,7 +4343,7 @@ mod tests {
43434343
Some("30 days"),
43444344
None,
43454345
None,
4346-
]
4346+
]
43474347
);
43484348
}
43494349

arrow-cast/src/display.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,10 @@ impl<'a> DisplayIndex for &'a PrimitiveArray<IntervalDayTimeType> {
668668
write!(f, "{} days", value.days)?;
669669
first_part = false;
670670
}
671-
671+
672672
if value.milliseconds != 0 {
673673
let millis_fmt = MillisecondsFormatter {
674-
milliseconds:value.milliseconds,
674+
milliseconds: value.milliseconds,
675675
first_part,
676676
};
677677

@@ -715,7 +715,7 @@ impl<'a> DisplayIndex for &'a PrimitiveArray<IntervalMonthDayNanoType> {
715715

716716
struct NanosecondsFormatter {
717717
nanoseconds: i64,
718-
first_part: bool,
718+
first_part: bool,
719719
}
720720

721721
impl Display for NanosecondsFormatter {
@@ -777,7 +777,7 @@ impl Display for NanosecondsFormatter {
777777

778778
struct MillisecondsFormatter {
779779
milliseconds: i32,
780-
first_part: bool,
780+
first_part: bool,
781781
}
782782

783783
impl Display for MillisecondsFormatter {

0 commit comments

Comments
 (0)