File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ struct ResolvedSchemaProvider {
37
37
#[ async_trait]
38
38
impl SchemaProvider for ResolvedSchemaProvider {
39
39
fn owner_name ( & self ) -> Option < & str > {
40
- self . owner_name . as_ref ( ) . map ( |o| o . as_str ( ) )
40
+ self . owner_name . as_deref ( )
41
41
}
42
42
43
43
fn as_any ( & self ) -> & dyn std:: any:: Any {
@@ -372,8 +372,8 @@ pub trait AsyncCatalogProviderList: Send + Sync {
372
372
catalog
373
373
} else {
374
374
let resolved_catalog = self . catalog ( catalog_name) . await ?;
375
- let resolved_catalog = resolved_catalog
376
- . map ( |async_cat| ResolvedCatalogProviderBuilder :: new ( async_cat ) ) ;
375
+ let resolved_catalog =
376
+ resolved_catalog . map ( ResolvedCatalogProviderBuilder :: new) ;
377
377
cached_catalogs. insert ( catalog_name. to_string ( ) , resolved_catalog) ;
378
378
cached_catalogs. get_mut ( catalog_name) . unwrap ( )
379
379
} ;
You can’t perform that action at this time.
0 commit comments