pethapixels-create opened a new pull request, #12520: URL: https://github.com/apache/arrow-rs/pull/12520
## Summary Continues the modularization of `arrow-cast`'s large `cast/mod.rs` started in #5125 (part of #11032). This PR extracts the standalone `can_cast_types` helper into its own private submodule `arrow-cast/src/cast/can_cast.rs` (~220 lines moved out of `mod.rs`). The function is re-exported via `pub use crate::cast::can_cast::can_cast_types;` from `cast/mod.rs`, so: - the public API `arrow_cast::cast::can_cast_types` is unchanged, and - the internal caller in `cast/union.rs` (`use crate::cast::can_cast_types;`) is unchanged. No behavioral change — pure code movement. ## Testing - `cargo check -p arrow-cast` — clean (no warnings) - `cargo fmt -p arrow-cast -- --check` — clean - `cargo test -p arrow-cast --lib` — builds & passes Closes #11032 -- 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]
