Skip to content

Commit c6fac6d

Browse files
authored
Make equals_datatype method public, enabling other modules (#1838)
* we'd like to use this function in datafusion
1 parent 8d787d9 commit c6fac6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow/src/datatypes/datatype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ impl DataType {
671671

672672
/// Compares the datatype with another, ignoring nested field names
673673
/// and metadata.
674-
pub(crate) fn equals_datatype(&self, other: &DataType) -> bool {
674+
pub fn equals_datatype(&self, other: &DataType) -> bool {
675675
match (&self, other) {
676676
(DataType::List(a), DataType::List(b))
677677
| (DataType::LargeList(a), DataType::LargeList(b)) => {

0 commit comments

Comments
 (0)