alamb commented on code in PR #5710: URL: https://github.com/apache/arrow-rs/pull/5710#discussion_r1589143098
########## 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: no it doesn't. I will fix -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org