This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new e1ade7b036 chore: fix a typo in `ExtensionType::supports_data_type` 
docs (#7682)
e1ade7b036 is described below

commit e1ade7b0369ab00ce5b48b028723b8913d6e16ad
Author: Matthijs Brobbel <m1brob...@gmail.com>
AuthorDate: Tue Jun 17 13:26:46 2025 +0200

    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.
---
 arrow-schema/src/extension/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow-schema/src/extension/mod.rs 
b/arrow-schema/src/extension/mod.rs
index c5119873af..92b0024bfd 100644
--- a/arrow-schema/src/extension/mod.rs
+++ b/arrow-schema/src/extension/mod.rs
@@ -247,7 +247,7 @@ pub trait ExtensionType: Sized {
     /// - deserialization of metadata fails
     fn deserialize_metadata(metadata: Option<&str>) -> Result<Self::Metadata, 
ArrowError>;
 
-    /// Returns `OK())` iff the given data type is supported by this extension
+    /// Returns `Ok(())` iff the given data type is supported by this extension
     /// type.
     fn supports_data_type(&self, data_type: &DataType) -> Result<(), 
ArrowError>;
 

Reply via email to