alamb commented on code in PR #5826: URL: https://github.com/apache/arrow-rs/pull/5826#discussion_r1622878648
########## arrow-cast/src/cast/mod.rs: ########## @@ -15,22 +15,22 @@ // specific language governing permissions and limitations // under the License. -//! Defines cast kernels for `ArrayRef`, to convert `Array`s between -//! supported datatypes. +//! Cast kernels to convert [`ArrayRef`] between supported datatypes. +//! +//! See [`cast_with_options`] for more information on specific conversions. //! //! Example: //! //! ``` -//! use arrow_array::*; -//! use arrow_cast::cast; -//! use arrow_schema::DataType; -//! use std::sync::Arc; -//! use arrow_array::types::Float64Type; -//! use arrow_array::cast::AsArray; -//! +//! # use arrow_array::*; Review Comment: this just makes the existing example less verbose -- 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]
