andygrove commented on code in PR #6836:
URL: https://github.com/apache/arrow-rs/pull/6836#discussion_r1870001891
##########
arrow-cast/src/cast/decimal.rs:
##########
@@ -112,8 +112,19 @@ where
};
Ok(match cast_options.safe {
Review Comment:
It seems strange to `match` on a boolean rather than just using an `if`
statement. I know this is how the existing code was, but perhaps we could
improve this while we are here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]