alamb commented on PR #12318: URL: https://github.com/apache/arrow-rs/pull/12318#issuecomment-7143355815
> Yeah, sadly I don't think there's any safe rust way of doing that. Once `Arc<T>::as_ref` has produced a `&T`, there's no going back. To be clear I am not advocating for anything crazy / `unsafe` -- 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]
