Skip to content

Commit e1ade7b

Browse files
authored
chore: fix a typo in ExtensionType::supports_data_type docs (#7682)
# Which issue does this PR close? None # Rationale for this change Noticed a typo. # What changes are included in this PR? Fixes the typo. # Are there any user-facing changes? Updated docs.
1 parent f5f09ea commit e1ade7b

File tree

1 file changed

+1
-1
lines changed
  • arrow-schema/src/extension

1 file changed

+1
-1
lines changed

arrow-schema/src/extension/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ pub trait ExtensionType: Sized {
247247
/// - deserialization of metadata fails
248248
fn deserialize_metadata(metadata: Option<&str>) -> Result<Self::Metadata, ArrowError>;
249249

250-
/// Returns `OK())` iff the given data type is supported by this extension
250+
/// Returns `Ok(())` iff the given data type is supported by this extension
251251
/// type.
252252
fn supports_data_type(&self, data_type: &DataType) -> Result<(), ArrowError>;
253253

0 commit comments

Comments
 (0)