File tree Expand file tree Collapse file tree
datafusion-examples/examples/extension_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl TemperatureExtensionType {
166166 storage_type : storage_type. clone ( ) ,
167167 temperature_unit,
168168 } ;
169- result. supports_data_type ( & storage_type) ?; // Validate the storage type
169+ result. supports_data_type ( storage_type) ?; // Validate the storage type
170170 Ok ( result)
171171 }
172172}
Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ pub type ExtensionTypeRegistrationRef = Arc<dyn ExtensionTypeRegistration>;
246246/// field and create the corresponding [`DFExtensionType`] instance with the correct `n` set.
247247///
248248/// The [`DefaultExtensionTypeRegistration`] provides a convenient way of creating registrations.
249+ ///
250+ /// [`DFExtensionType`]: datafusion_common::types::DFExtensionType
249251pub trait ExtensionTypeRegistration : Debug + Send + Sync {
250252 /// The name of the extension type.
251253 ///
You can’t perform that action at this time.
0 commit comments