File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,7 +180,10 @@ impl LogicalType {
180180 }
181181
182182 pub fn is_floating_point_numeric ( & self ) -> bool {
183- matches ! ( self , LogicalType :: Float | LogicalType :: Real | LogicalType :: Double )
183+ matches ! (
184+ self ,
185+ LogicalType :: Float | LogicalType :: Real | LogicalType :: Double
186+ )
184187 }
185188
186189 pub fn max_logical_type (
@@ -352,11 +355,17 @@ impl LogicalType {
352355 ) ,
353356 LogicalType :: Bigint => matches ! (
354357 to,
355- LogicalType :: Float | LogicalType :: Real | LogicalType :: Double | LogicalType :: Decimal ( _, _)
358+ LogicalType :: Float
359+ | LogicalType :: Real
360+ | LogicalType :: Double
361+ | LogicalType :: Decimal ( _, _)
356362 ) ,
357363 LogicalType :: UBigint => matches ! (
358364 to,
359- LogicalType :: Float | LogicalType :: Real | LogicalType :: Double | LogicalType :: Decimal ( _, _)
365+ LogicalType :: Float
366+ | LogicalType :: Real
367+ | LogicalType :: Double
368+ | LogicalType :: Decimal ( _, _)
360369 ) ,
361370 LogicalType :: Float => matches ! ( to, LogicalType :: Double | LogicalType :: Decimal ( _, _) ) ,
362371 LogicalType :: Real => matches ! ( to, LogicalType :: Double | LogicalType :: Decimal ( _, _) ) ,
You can’t perform that action at this time.
0 commit comments