tustvold commented on code in PR #5710:
URL: https://github.com/apache/arrow-rs/pull/5710#discussion_r1588871290
##########
arrow-cast/src/parse.rs:
##########
@@ -435,11 +435,20 @@ impl Parser for Float64Type {
}
}
+/// This API is only stable since 1.70 so can't use it when current MSRV is
lower
+#[inline(always)]
+pub fn is_some_and<T>(opt: Option<T>, f: impl FnOnce(T) -> bool) -> bool {
Review Comment:
Does this need to be public?
--
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]